##// END OF EJS Templates
phases: replace magic number by constant...
phases: replace magic number by constant Differential Revision: https://phab.mercurial-scm.org/D8695

File last commit:

r38206:6ae62d62 stable
r45609:31f111d4 default
Show More
test-check-pylint.t
22 lines | 616 B | text/troff | Tads3Lexer
/ tests / test-check-pylint.t
Pierre-Yves David
test: add a basic 'test-check-pylint.t'...
r31413 #require test-repo pylint hg10
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
$ 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 (?)
------------------------------------ (?)
Your code has been rated at 10.00/10 (?)
(?)