From 4e4540d8e08fe83f4b9f8c06d981ece769a617e3 Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Mon, 18 Mar 2024 11:55:39 +0000 Subject: [PATCH] line length fix Signed-off-by: Dave Rodgman --- scripts/code_style.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/code_style.py b/scripts/code_style.py index 71e3edf035..b12198d38f 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