aboutsummaryrefslogtreecommitdiff
path: root/src/ee/tools
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-08-19 15:34:04 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-08-19 15:34:04 +0200
commit6b7c6e96c727d8f1885b0653cdcbc21730eaf3cb (patch)
tree75c81deea930b39fda5538bb760598d2dbe1b73c /src/ee/tools
parentcc381711f4f6be93b03b8577e35d4dd37db6963c (diff)
downloadee-python-6b7c6e96c727d8f1885b0653cdcbc21730eaf3cb.tar.gz
ee-python-6b7c6e96c727d8f1885b0653cdcbc21730eaf3cb.tar.bz2
ee-python-6b7c6e96c727d8f1885b0653cdcbc21730eaf3cb.tar.xz
ee-python-6b7c6e96c727d8f1885b0653cdcbc21730eaf3cb.zip
bom.rst.j2: Show number of unresolved parts.
part_validate_parts: Remove warning I didn't understand.
Diffstat (limited to 'src/ee/tools')
-rw-r--r--src/ee/tools/part_validate_parts.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ee/tools/part_validate_parts.py b/src/ee/tools/part_validate_parts.py
index d9ad3f7..cebe70f 100644
--- a/src/ee/tools/part_validate_parts.py
+++ b/src/ee/tools/part_validate_parts.py
@@ -91,9 +91,9 @@ def check_has_footprint(ctx: Context, bom: Part, sch: Part):
return ms.warning("Part has footprint in schematic and a BOM part but their footprints do not match. "
f"Footprints: part: {fp}, BOM: {supplier_fp}.")
- if fp is None and supplier_fp is not None:
- return ms.warning(f"The schematic part's footprint should be compatible with the BOM part's footprint: "
- f"{supplier_fp}.")
+ # if fp is None and supplier_fp is not None:
+ # return ms.warning(f"The schematic part's footprint should be compatible with the BOM part's footprint: "
+ # f"{supplier_fp}.")
if len(ms.messages) == 0:
ms.info("Part has footprint and BOM part. Their footprints matches.")