diff --git a/selfdrive/debug/format_fingerprints.py b/selfdrive/debug/format_fingerprints.py index 50e05cbb89..ab25692035 100755 --- a/selfdrive/debug/format_fingerprints.py +++ b/selfdrive/debug/format_fingerprints.py @@ -14,7 +14,8 @@ FINGERPRINTS = get_interface_attr('FINGERPRINTS') PLATFORM_TO_PYTHON_CAR_NAME = {brand: {car.value: car.name for car in CARS[brand]} for brand in CARS} ECU_NUMBER_TO_NAME = {v: k for k, v in Ecu.schema.enumerants.items()} -FINGERPRINTS_PY_TEMPLATE = """{% if FINGERPRINTS[brand] %} +FINGERPRINTS_PY_TEMPLATE = """ +{%- if FINGERPRINTS[brand] %} # ruff: noqa: E501 {% endif %} {% if FW_VERSIONS[brand] %}