##// END OF EJS Templates
tests: document what the other currently enabled pylint check ensures
av6 -
r50687:4658f5e6 stable
parent child Browse files
Show More
@@ -1,22 +1,23 b''
1 #require test-repo pylint
1 #require test-repo pylint
2
2
3 Run pylint for known rules we care about.
3 Run pylint for known rules we care about.
4 -----------------------------------------
4 -----------------------------------------
5
5
6 There should be no recorded failures; fix the codebase before introducing a
6 There should be no recorded failures; fix the codebase before introducing a
7 new check.
7 new check.
8
8
9 Current checks:
9 Current checks:
10 - W0102: no mutable default argument
10 - W0102: no mutable default argument
11 - C0321: only one statement on a single line
11
12
12 $ touch $TESTTMP/fakerc
13 $ touch $TESTTMP/fakerc
13 $ pylint --rcfile=$TESTTMP/fakerc --disable=all \
14 $ pylint --rcfile=$TESTTMP/fakerc --disable=all \
14 > --enable=W0102,C0321 \
15 > --enable=W0102,C0321 \
15 > --reports=no \
16 > --reports=no \
16 > --ignore=thirdparty \
17 > --ignore=thirdparty \
17 > mercurial hgdemandimport hgext hgext3rd | sed 's/\r$//'
18 > mercurial hgdemandimport hgext hgext3rd | sed 's/\r$//'
18 Using config file *fakerc (glob) (?)
19 Using config file *fakerc (glob) (?)
19 (?)
20 (?)
20 ------------------------------------* (glob) (?)
21 ------------------------------------* (glob) (?)
21 Your code has been rated at 10.00/10* (glob) (?)
22 Your code has been rated at 10.00/10* (glob) (?)
22 (?)
23 (?)
General Comments 0
You need to be logged in to leave comments. Login now