From 6b7c6e96c727d8f1885b0653cdcbc21730eaf3cb Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 19 Aug 2019 15:34:04 +0200 Subject: bom.rst.j2: Show number of unresolved parts. part_validate_parts: Remove warning I didn't understand. --- src/ee/tools/part_validate_parts.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ee/tools') 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.") -- cgit v1.2.3