tests/test-check-pyflakes.t
changeset 48997 20c6c9e43397
parent 48996 54bf76d005df
child 49283 44b26349127b
equal deleted inserted replaced
48996:54bf76d005df 48997:20c6c9e43397
    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 \
    18   > -X mercurial/pycompat.py -X contrib/python-zstandard \
    18   > -X contrib/python-zstandard \
    19   > -X mercurial/thirdparty \
    19   > -X mercurial/thirdparty \
    20   > 2>/dev/null \
    20   > 2>/dev/null \
    21   > | xargs "$PYTHON" -m pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
    21   > | xargs "$PYTHON" -m pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
    22   contrib/perf.py:*:* undefined name 'xrange' (glob) (?)
    22   contrib/perf.py:*:* undefined name 'xrange' (glob) (?)
    23   mercurial/hgweb/server.py:*:* undefined name 'reload' (glob) (?)
    23   mercurial/hgweb/server.py:*:* undefined name 'reload' (glob) (?)
       
    24   mercurial/pycompat.py:*:* 'codecs' imported but unused (glob)
       
    25   mercurial/pycompat.py:*:* 'concurrent.futures' imported but unused (glob)
       
    26   mercurial/pycompat.py:*:* 'http.client as httplib' imported but unused (glob)
       
    27   mercurial/pycompat.py:*:* 'http.cookiejar as cookielib' imported but unused (glob)
       
    28   mercurial/pycompat.py:*:* 'io' imported but unused (glob)
       
    29   mercurial/pycompat.py:*:* 'queue' imported but unused (glob)
       
    30   mercurial/pycompat.py:*:* 'socketserver' imported but unused (glob)
       
    31   mercurial/pycompat.py:*:* 'xmlrpc.client as xmlrpclib' imported but unused (glob)
    24   mercurial/util.py:*:* 'pickle' imported but unused (glob)
    32   mercurial/util.py:*:* 'pickle' imported but unused (glob)
    25   
    33