diff options
author | Martin Liska <mliska@suse.cz> | 2022-01-19 14:53:43 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-01-19 14:54:03 +0100 |
commit | 68aa3c08ef1c33d9ad1263f4b939638920de9f11 (patch) | |
tree | 229ca21a71cfa068295554fd188adfcc20ce16d6 /contrib | |
parent | 0bd247bbbe4cf396173f09eeec37e116e98f8471 (diff) | |
download | gcc-68aa3c08ef1c33d9ad1263f4b939638920de9f11.zip gcc-68aa3c08ef1c33d9ad1263f4b939638920de9f11.tar.gz gcc-68aa3c08ef1c33d9ad1263f4b939638920de9f11.tar.bz2 |
check_GNU_style_lib: skip .py files (one should use flake8).
contrib/ChangeLog:
* check_GNU_style_lib.py: Skip Python files.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/check_GNU_style_lib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/check_GNU_style_lib.py b/contrib/check_GNU_style_lib.py index ac3682f..b5ab67e 100755 --- a/contrib/check_GNU_style_lib.py +++ b/contrib/check_GNU_style_lib.py @@ -276,7 +276,7 @@ def check_GNU_style_file(file, file_encoding, format): for pfile in patch.added_files + patch.modified_files: t = pfile.target_file.lstrip('b/') # Skip testsuite files - if 'testsuite' in t: + if 'testsuite' in t or t.endswith('.py'): continue for hunk in pfile: |