test-check-pylint.t
21 lines
| 561 B
| text/troff
|
Tads3Lexer
/ tests / test-check-pylint.t
Pierre-Yves David
|
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
|
r35648 | > --enable=W0102,C0321 \ | ||
Boris Feld
|
r35645 | > --reports=no \ | ||
Siddharth Agarwal
|
r34396 | > --ignore=thirdparty \ | ||
Siddharth Agarwal
|
r32421 | > mercurial hgdemandimport hgext hgext3rd | ||
Jun Wu
|
r31839 | (?) | ||
------------------------------------ (?) | ||||
Your code has been rated at 10.00/10 (?) | ||||
(?) | ||||