##// 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 1 #require test-repo pylint hg10
2 2
3 3 Run pylint for known rules we care about.
4 4 -----------------------------------------
5 5
6 6 There should be no recorded failures; fix the codebase before introducing a
7 7 new check.
8 8
9 9 Current checks:
10 10 - W0102: no mutable default argument
11 11
12 12 $ touch $TESTTMP/fakerc
13 13 $ pylint --rcfile=$TESTTMP/fakerc --disable=all \
14 14 > --enable=W0102,C0321 \
15 15 > --reports=no \
16 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 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