test-check-pylint.t
23 lines
| 663 B
| text/troff
|
Tads3Lexer
/ tests / test-check-pylint.t
r50131 | #require test-repo pylint | |||
Pierre-Yves David
|
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 | ||||
r50687 | - C0321: only one statement on a single line | |||
Pierre-Yves David
|
r31413 | |||
$ 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 \ | ||
r53252 | > mercurial hgdemandimport hgext | sed 's/\r$//' | |||
Matt Harbison
|
r38206 | Using config file *fakerc (glob) (?) | ||
Jun Wu
|
r31839 | (?) | ||
Matt Harbison
|
r46686 | ------------------------------------* (glob) (?) | ||
Your code has been rated at 10.00/10* (glob) (?) | ||||
Jun Wu
|
r31839 | (?) | ||