equal
deleted
inserted
replaced
7 |
7 |
8 $ cat > test.py <<EOF |
8 $ cat > test.py <<EOF |
9 > print(undefinedname) |
9 > print(undefinedname) |
10 > EOF |
10 > EOF |
11 $ $PYTHON -m pyflakes test.py 2>/dev/null | "$TESTDIR/filterpyflakes.py" |
11 $ $PYTHON -m pyflakes test.py 2>/dev/null | "$TESTDIR/filterpyflakes.py" |
12 test.py:1: undefined name 'undefinedname' |
12 test.py:1:* undefined name 'undefinedname' (glob) |
13 |
13 |
14 $ cd "`dirname "$TESTDIR"`" |
14 $ cd "`dirname "$TESTDIR"`" |
15 |
15 |
16 $ testrepohg locate 'set:**.py or grep("^#!.*python")' \ |
16 $ testrepohg locate 'set:**.py or grep("^#!.*python")' \ |
17 > -X hgext/fsmonitor/pywatchman \ |
17 > -X hgext/fsmonitor/pywatchman \ |
19 > -X mercurial/thirdparty/cbor \ |
19 > -X mercurial/thirdparty/cbor \ |
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 $PYTHON -m 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) (?) |
27 mercurial/encoding.py:*: undefined name 'localstr' (glob) (?) |
27 mercurial/encoding.py:*:* undefined name 'localstr' (glob) (?) |
28 |
28 |