File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11import ast
2+ import sys
23import mccabe
34from .utils import collect_sources
45
@@ -28,4 +29,4 @@ def main():
2829
2930
3031if __name__ == "__main__" :
31- main ()
32+ main ()
Original file line number Diff line number Diff line change 1+ import sys
12import subprocess
23
34from .utils import collect_sources
@@ -15,7 +16,7 @@ def ignore(p):
1516
1617def run_pyflakes ():
1718 cmd = ["pyflakes" ]
18- cmd .extend (collect_sources (ignore_func = ignore ))
19+ cmd .extend (collect_sources (ignore_func = ignore ))
1920 return subprocess .call (cmd )
2021
2122
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ def collect_sources(ignore_func):
66 for py_path in top_path .walkfiles ("*.py" ):
77 py_path = py_path .normpath () # get rid of the leading '.'
88 if not ignore_func (py_path ):
9- yield py_path
9+ yield py_path
You can’t perform that action at this time.
0 commit comments