aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/check_GNU_style_lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/check_GNU_style_lib.py b/contrib/check_GNU_style_lib.py
index ac3682fb2af..b5ab67ed285 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: