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