Show More
@@ -35,6 +35,8 b' allowsymbolimports = (' | |||||
35 | 'mercurial.pure.mpatch', |
|
35 | 'mercurial.pure.mpatch', | |
36 | 'mercurial.pure.osutil', |
|
36 | 'mercurial.pure.osutil', | |
37 | 'mercurial.pure.parsers', |
|
37 | 'mercurial.pure.parsers', | |
|
38 | # third-party imports should be directly imported | |||
|
39 | 'mercurial.thirdparty', | |||
38 | ) |
|
40 | ) | |
39 |
|
41 | |||
40 | # Whitelist of symbols that can be directly imported. |
|
42 | # Whitelist of symbols that can be directly imported. |
@@ -7,9 +7,11 b'' | |||||
7 | New errors are not allowed. Warnings are strongly discouraged. |
|
7 | New errors are not allowed. Warnings are strongly discouraged. | |
8 | (The writing "no-che?k-code" is for not skipping this file when checking.) |
|
8 | (The writing "no-che?k-code" is for not skipping this file when checking.) | |
9 |
|
9 | |||
10 |
$ testrepohg locate |
|
10 | $ testrepohg locate \ | |
11 | > -X hgext/fsmonitor/pywatchman | |
|
11 | > -X contrib/python-zstandard \ | |
12 | > sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false |
|
12 | > -X hgext/fsmonitor/pywatchman \ | |
|
13 | > -X mercurial/thirdparty \ | |||
|
14 | > | sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false | |||
13 | Skipping i18n/polib.py it has no-che?k-code (glob) |
|
15 | Skipping i18n/polib.py it has no-che?k-code (glob) | |
14 | Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob) |
|
16 | Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob) | |
15 | Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob) |
|
17 | Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob) |
@@ -25,6 +25,7 b' outputs, which should be fixed later.' | |||||
25 | > -X doc/gendoc.py \ |
|
25 | > -X doc/gendoc.py \ | |
26 | > -X doc/hgmanpage.py \ |
|
26 | > -X doc/hgmanpage.py \ | |
27 | > -X i18n/posplit \ |
|
27 | > -X i18n/posplit \ | |
|
28 | > -X mercurial/thirdparty \ | |||
28 | > -X tests/hypothesishelpers.py \ |
|
29 | > -X tests/hypothesishelpers.py \ | |
29 | > -X tests/test-commit-interactive.t \ |
|
30 | > -X tests/test-commit-interactive.t \ | |
30 | > -X tests/test-contrib-check-code.t \ |
|
31 | > -X tests/test-contrib-check-code.t \ |
@@ -12,6 +12,7 b' Current checks:' | |||||
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 --reports=no \ |
|
14 | > --enable=W0102 --reports=no \ | |
|
15 | > --ignore=thirdparty \ | |||
15 | > mercurial hgdemandimport hgext hgext3rd |
|
16 | > mercurial hgdemandimport hgext hgext3rd | |
16 | (?) |
|
17 | (?) | |
17 | ------------------------------------ (?) |
|
18 | ------------------------------------ (?) |
General Comments 0
You need to be logged in to leave comments.
Login now