Show More
@@ -1,20 +1,21 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 |
> --enable=W0102 |
|
|
14 | > --enable=W0102 \ | |
|
15 | > --reports=no \ | |
|
15 | 16 | > --ignore=thirdparty \ |
|
16 | 17 | > mercurial hgdemandimport hgext hgext3rd |
|
17 | 18 | (?) |
|
18 | 19 | ------------------------------------ (?) |
|
19 | 20 | Your code has been rated at 10.00/10 (?) |
|
20 | 21 | (?) |
General Comments 0
You need to be logged in to leave comments.
Login now