##// END OF EJS Templates
test-pylint: stop checking hgext3rd...
marmoute -
r53252:94f0940d default
parent child Browse files
Show More
@@ -1,23 +1,23
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 - C0321: only one statement on a single line
12
12
13 $ touch $TESTTMP/fakerc
13 $ touch $TESTTMP/fakerc
14 $ pylint --rcfile=$TESTTMP/fakerc --disable=all \
14 $ pylint --rcfile=$TESTTMP/fakerc --disable=all \
15 > --enable=W0102,C0321 \
15 > --enable=W0102,C0321 \
16 > --reports=no \
16 > --reports=no \
17 > --ignore=thirdparty \
17 > --ignore=thirdparty \
18 > mercurial hgdemandimport hgext hgext3rd | sed 's/\r$//'
18 > mercurial hgdemandimport hgext | sed 's/\r$//'
19 Using config file *fakerc (glob) (?)
19 Using config file *fakerc (glob) (?)
20 (?)
20 (?)
21 ------------------------------------* (glob) (?)
21 ------------------------------------* (glob) (?)
22 Your code has been rated at 10.00/10* (glob) (?)
22 Your code has been rated at 10.00/10* (glob) (?)
23 (?)
23 (?)
General Comments 0
You need to be logged in to leave comments. Login now