Permalink
Please sign in to comment.
Browse files
Run flake8 on opy/ too.
Fix all the lint errors, mainly unused imports. Had to exclude a couple files.
- Loading branch information...
Showing
with
31 additions
and 29 deletions.
- +2 −0 opy/callgraph_test.py
- +9 −8 opy/compiler2/pycodegen.py
- +0 −1 opy/compiler2/symbols_test.py
- +0 −1 opy/compiler2/syntax.py
- +0 −1 opy/compiler2/visitor.py
- +1 −1 opy/misc/inspect_pyc.py
- +1 −1 opy/misc/stdlib_compile.py
- +3 −3 opy/opy_main.py
- +1 −3 opy/pgen2/driver.py
- +1 −3 opy/pgen2/grammar.py
- +2 −3 opy/pytree.py
- +1 −0 opy/testdata/hello_py2.py
- +10 −4 test/lint.sh
| @@ -1,2 +1,3 @@ | ||
| from __future__ import print_function | ||
| import sys | ||
| print("hi from Python 2", file=sys.stderr) |
0 comments on commit
efe4efb