diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ee/templates/bom.rst.j2 | 2 | ||||
-rw-r--r-- | src/ee/tools/part_validate_parts.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ee/templates/bom.rst.j2 b/src/ee/templates/bom.rst.j2 index 3463d90..c8bed20 100644 --- a/src/ee/templates/bom.rst.j2 +++ b/src/ee/templates/bom.rst.j2 @@ -3,7 +3,7 @@ BOM === {% if unresolved_parts %} -Unresolved parts: +{{- unresolved_parts|length }} unresolved parts: {% for op in unresolved_parts %} * `{{ op.ref }} <ref-{{ op.ref }}_>`_ {%- endfor %} 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.") |