Show More
@@ -2,7 +2,10 b'' | |||||
2 |
|
2 | |||
3 | # Filter output by pyflakes to control which warnings we check |
|
3 | # Filter output by pyflakes to control which warnings we check | |
4 |
|
4 | |||
5 | import sys, re |
|
5 | from __future__ import absolute_import | |
|
6 | ||||
|
7 | import re | |||
|
8 | import sys | |||
6 |
|
9 | |||
7 | def makekey(typeandline): |
|
10 | def makekey(typeandline): | |
8 | """ |
|
11 | """ |
@@ -143,7 +143,6 b'' | |||||
143 | mercurial/util.py not using absolute_import |
|
143 | mercurial/util.py not using absolute_import | |
144 | mercurial/windows.py not using absolute_import |
|
144 | mercurial/windows.py not using absolute_import | |
145 | setup.py not using absolute_import |
|
145 | setup.py not using absolute_import | |
146 | tests/filterpyflakes.py not using absolute_import |
|
|||
147 | tests/filterpyflakes.py requires print_function |
|
146 | tests/filterpyflakes.py requires print_function | |
148 | tests/generate-working-copy-states.py not using absolute_import |
|
147 | tests/generate-working-copy-states.py not using absolute_import | |
149 | tests/generate-working-copy-states.py requires print_function |
|
148 | tests/generate-working-copy-states.py requires print_function |
@@ -7,6 +7,6 b' run pyflakes on all tracked files ending' | |||||
7 |
|
7 | |||
8 | $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \ |
|
8 | $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \ | |
9 | > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" |
|
9 | > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" | |
10 |
tests/filterpyflakes.py: |
|
10 | tests/filterpyflakes.py:61: undefined name 'undefinedname' | |
11 |
|
11 | |||
12 |
|
12 |
General Comments 0
You need to be logged in to leave comments.
Login now