##// END OF EJS Templates
tests: use pyflakes as a tool, not a python module...
tests: use pyflakes as a tool, not a python module The usage of pyflakes as a Python module was introduced in e397c6d74652, to work around issue between Python 2 and Python 3. This issues are long behind us now and we can get beck to using pyflakes as a tool, giving us more flexibility about how we install it. The `hghave` requirements is modified to check that we have a tool available, instead of a python module.

File last commit:

r50687:4658f5e6 stable
r52956:43602c67 default
Show More
test-check-pylint.t
23 lines | 672 B | text/troff | Tads3Lexer
/ tests / test-check-pylint.t
av6
tests: remove hg10 requirement from test-check-pylint.t...
r50131 #require test-repo pylint
Pierre-Yves David
test: add a basic 'test-check-pylint.t'...
r31413
Run pylint for known rules we care about.
-----------------------------------------
There should be no recorded failures; fix the codebase before introducing a
new check.
Current checks:
- W0102: no mutable default argument
av6
tests: document what the other currently enabled pylint check ensures
r50687 - C0321: only one statement on a single line
Pierre-Yves David
test: add a basic 'test-check-pylint.t'...
r31413
$ touch $TESTTMP/fakerc
$ pylint --rcfile=$TESTTMP/fakerc --disable=all \
Boris Feld
pylint: add a check for multiple statement on a single line...
r35648 > --enable=W0102,C0321 \
Boris Feld
pylint: split command line argument on multiple lines...
r35645 > --reports=no \
Siddharth Agarwal
tests: disable lints on mercurial/thirdparty...
r34396 > --ignore=thirdparty \
Matt Harbison
tests: adapt test-check-pylint to run on Windows...
r38206 > mercurial hgdemandimport hgext hgext3rd | sed 's/\r$//'
Using config file *fakerc (glob) (?)
Jun Wu
test-check-pylint: match its output...
r31839 (?)
Matt Harbison
tests: update output for test-check-pylint.t...
r46686 ------------------------------------* (glob) (?)
Your code has been rated at 10.00/10* (glob) (?)
Jun Wu
test-check-pylint: match its output...
r31839 (?)