##// END OF EJS Templates
filterpyflakes: allow reexporting pure symbols from cffi modules...
Yuya Nishihara -
r32510:50eaccb8 default
parent child Browse files
Show More
@@ -13,6 +13,9 b' for line in sys.stdin:'
13 pats = [
13 pats = [
14 r"undefined name 'WindowsError'",
14 r"undefined name 'WindowsError'",
15 r"redefinition of unused '[^']+' from line",
15 r"redefinition of unused '[^']+' from line",
16 # for cffi, allow re-exports from pure.*
17 r"cffi/[^:]*:.*\bimport \*' used",
18 r"cffi/[^:]*:.*\*' imported but unused",
16 ]
19 ]
17
20
18 keep = True
21 keep = True
@@ -10,5 +10,5 b' run pyflakes on all tracked files ending'
10 > -X mercurial/pycompat.py -X contrib/python-zstandard \
10 > -X mercurial/pycompat.py -X contrib/python-zstandard \
11 > 2>/dev/null \
11 > 2>/dev/null \
12 > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
12 > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
13 tests/filterpyflakes.py:38: undefined name 'undefinedname'
13 tests/filterpyflakes.py:41: undefined name 'undefinedname'
14
14
General Comments 0
You need to be logged in to leave comments. Login now