changeset 31413 | aa797bd54f44 |
child 31839 | 5b048d5f8884 |
31412:ecc87acb4d10 | 31413:aa797bd54f44 |
---|---|
1 #require test-repo pylint hg10 |
|
2 |
|
3 Run pylint for known rules we care about. |
|
4 ----------------------------------------- |
|
5 |
|
6 There should be no recorded failures; fix the codebase before introducing a |
|
7 new check. |
|
8 |
|
9 Current checks: |
|
10 - W0102: no mutable default argument |
|
11 |
|
12 $ touch $TESTTMP/fakerc |
|
13 $ pylint --rcfile=$TESTTMP/fakerc --disable=all \ |
|
14 > --enable=W0102 --reports=no \ |
|
15 > mercurial hgext hgext3rd |