[PATCH 0 of 3] run pyflakes on all python files
simohe at besonet.ch
Wed Jun 26 16:34:58 CDT 2013
By doing this many places for cleanup showed up. Fix them first
For having a nicer order in the listed exceptions, improve and simplify the
sorting in the filter.
(Do not (yet) run the doctests because this would run the filter script. This
is not desired and prints an extra empty line.)
Finally let the test run pyflakes on all tracked python files (similar as
check-code-hg.t). pyflakes fails hard on files containing a 0 byte. Therefore
filter out all files which have a file ending different to .py plus a known
The many import warnings from hghave.py and setup.py are because they import
for checking import failure.
More information about the Mercurial-devel