From b206d417caf749fbb9af1a79d6e92a59df2c9d9e Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 26 May 2022 10:02:07 -0300 Subject: [PATCH] Fixed KiBoM mounting hole regex - Applied to the Footprint - The ac39118 fix only affected the Part Related to SchrodingersGat/KiBoM#169 Fixes #201 --- CHANGELOG.md | 2 ++ kibot/fil_base.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 80c93787..292d1f0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixed +- Components with mounting hole where excluded (#201) ## [1.1.0] - 2022-05-24 ### Added diff --git a/kibot/fil_base.py b/kibot/fil_base.py index d693eed1..2d019323 100644 --- a/kibot/fil_base.py +++ b/kibot/fil_base.py @@ -21,7 +21,7 @@ DEFAULT_EXCLUDE = [{'column': ColumnList.COL_REFERENCE, 'regex': '^TP[0-9]*'}, {'column': ColumnList.COL_PART, 'regex': 'solder.*jump'}, {'column': ColumnList.COL_PART, 'regex': 'test.*point'}, {'column': ColumnList.COL_FP, 'regex': 'test.*point'}, - {'column': ColumnList.COL_FP, 'regex': 'mount.*hole'}, + {'column': ColumnList.COL_FP, 'regex': '^mount.*hole'}, {'column': ColumnList.COL_FP, 'regex': 'fiducial'}, ] KICOST_NAME_TRANSLATIONS = {