Commit 6e868b7b authored by Georg Brandl's avatar Georg Brandl

merge with 3.4

parents 61358f46 24f0717b
...@@ -152,7 +152,8 @@ def main(): ...@@ -152,7 +152,8 @@ def main():
file_paths = changed_files() file_paths = changed_files()
python_files = [fn for fn in file_paths if fn.endswith('.py')] python_files = [fn for fn in file_paths if fn.endswith('.py')]
c_files = [fn for fn in file_paths if fn.endswith(('.c', '.h'))] c_files = [fn for fn in file_paths if fn.endswith(('.c', '.h'))]
doc_files = [fn for fn in file_paths if fn.startswith('Doc')] doc_files = [fn for fn in file_paths if fn.startswith('Doc') and
fn.endswith(('.rst', '.inc'))]
misc_files = {os.path.join('Misc', 'ACKS'), os.path.join('Misc', 'NEWS')}\ misc_files = {os.path.join('Misc', 'ACKS'), os.path.join('Misc', 'NEWS')}\
& set(file_paths) & set(file_paths)
# PEP 8 whitespace rules enforcement. # PEP 8 whitespace rules enforcement.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment