aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDave Rodgman <dave.rodgman@arm.com>2024-03-18 11:55:39 +0000
committerDave Rodgman <dave.rodgman@arm.com>2024-03-18 11:55:39 +0000
commit4e4540d8e08fe83f4b9f8c06d981ece769a617e3 (patch)
tree5e79622d3f8e3307cab07abdd8253ccc83bcb399 /scripts
parent2a9eb221073b2c1a93049d1edc52899f7ef7abbb (diff)
downloadmbedtls-4e4540d8e08fe83f4b9f8c06d981ece769a617e3.zip
mbedtls-4e4540d8e08fe83f4b9f8c06d981ece769a617e3.tar.gz
mbedtls-4e4540d8e08fe83f4b9f8c06d981ece769a617e3.tar.bz2
line length fix
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/code_style.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/code_style.py b/scripts/code_style.py
index 71e3edf..b12198d 100755
--- a/scripts/code_style.py
+++ b/scripts/code_style.py
@@ -52,7 +52,8 @@ def list_generated_files() -> FrozenSet[str]:
return frozenset(word for s in checks for word in s.split())
# Check for comment string indicating an auto-generated file
-AUTOGEN_RE = re.compile(r"Warning[ :-]+This file is (now )?auto[ -]generated", re.ASCII | re.IGNORECASE)
+AUTOGEN_RE = re.compile(r"Warning[ :-]+This file is (now )?auto[ -]generated",
+ re.ASCII | re.IGNORECASE)
def is_file_autogenerated(filename):
content = open(filename, encoding="utf-8").read()
return AUTOGEN_RE.search(content) is not None