##// END OF EJS Templates
tests: adapt test-check-pylint to run on Windows...
Matt Harbison -
r38206:6ae62d62 stable
parent child Browse files
Show More
@@ -1,21 +1,22 b''
1 #require test-repo pylint hg10
1 #require test-repo pylint hg10
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
11
12 $ touch $TESTTMP/fakerc
12 $ touch $TESTTMP/fakerc
13 $ pylint --rcfile=$TESTTMP/fakerc --disable=all \
13 $ pylint --rcfile=$TESTTMP/fakerc --disable=all \
14 > --enable=W0102,C0321 \
14 > --enable=W0102,C0321 \
15 > --reports=no \
15 > --reports=no \
16 > --ignore=thirdparty \
16 > --ignore=thirdparty \
17 > mercurial hgdemandimport hgext hgext3rd
17 > mercurial hgdemandimport hgext hgext3rd | sed 's/\r$//'
18 Using config file *fakerc (glob) (?)
18 (?)
19 (?)
19 ------------------------------------ (?)
20 ------------------------------------ (?)
20 Your code has been rated at 10.00/10 (?)
21 Your code has been rated at 10.00/10 (?)
21 (?)
22 (?)
General Comments 0
You need to be logged in to leave comments. Login now