Show More
@@ -553,7 +553,7 b' def has_root():' | |||||
553 | @check("pyflakes", "Pyflakes python linter") |
|
553 | @check("pyflakes", "Pyflakes python linter") | |
554 | def has_pyflakes(): |
|
554 | def has_pyflakes(): | |
555 | return matchoutput( |
|
555 | return matchoutput( | |
556 | "sh -c \"echo 'import re' 2>&1 | pyflakes\"", |
|
556 | "sh -c \"echo 'import re' 2>&1 | $PYTHON -m pyflakes\"", | |
557 | br"<stdin>:1: 're' imported but unused", |
|
557 | br"<stdin>:1: 're' imported but unused", | |
558 | True, |
|
558 | True, | |
559 | ) |
|
559 | ) |
@@ -20,7 +20,7 b' run pyflakes on all tracked files ending' | |||||
20 | > -X mercurial/thirdparty/concurrent \ |
|
20 | > -X mercurial/thirdparty/concurrent \ | |
21 | > -X mercurial/thirdparty/zope \ |
|
21 | > -X mercurial/thirdparty/zope \ | |
22 | > 2>/dev/null \ |
|
22 | > 2>/dev/null \ | |
23 | > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" |
|
23 | > | xargs $PYTHON -m pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" | |
24 | contrib/perf.py:*: undefined name 'xrange' (glob) (?) |
|
24 | contrib/perf.py:*: undefined name 'xrange' (glob) (?) | |
25 | mercurial/hgweb/server.py:*: undefined name 'reload' (glob) (?) |
|
25 | mercurial/hgweb/server.py:*: undefined name 'reload' (glob) (?) | |
26 | mercurial/util.py:*: undefined name 'file' (glob) (?) |
|
26 | mercurial/util.py:*: undefined name 'file' (glob) (?) |
General Comments 0
You need to be logged in to leave comments.
Login now