From 786f88bff728f17b248dd70c0f2cb0216e4bbf6e Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 20 Dec 2023 00:43:03 -0800 Subject: [PATCH] newline w/o newline --- selfdrive/debug/format_fingerprints.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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] %}