check_GNU_style_lib: skip .py files (one should use flake8).
contrib/ChangeLog: * check_GNU_style_lib.py: Skip Python files.
This commit is contained in:
parent
0bd247bbbe
commit
68aa3c08ef
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue