Show More
@@ -492,8 +492,8 b' py3pats = [' | |||||
492 | checks = [ |
|
492 | checks = [ | |
493 | ('python', r'.*\.(py|cgi)$', r'^#!.*python', pyfilters, pypats), |
|
493 | ('python', r'.*\.(py|cgi)$', r'^#!.*python', pyfilters, pypats), | |
494 | ('python', r'.*hgext.*\.py$', '', [], pyextnfpats), |
|
494 | ('python', r'.*hgext.*\.py$', '', [], pyextnfpats), | |
495 |
('python 3', r'.*(hgext|mercurial)/(?!pycompat).*\.py', |
|
495 | ('python 3', r'.*(hgext|mercurial)/(?!demandimport|policy|pycompat).*\.py', | |
496 |
|
|
496 | '', pyfilters, py3pats), | |
497 | ('test script', r'(.*/)?test-[^.~]*$', '', testfilters, testpats), |
|
497 | ('test script', r'(.*/)?test-[^.~]*$', '', testfilters, testpats), | |
498 | ('c', r'.*\.[ch]$', '', cfilters, cpats), |
|
498 | ('c', r'.*\.[ch]$', '', cfilters, cpats), | |
499 | ('unified test', r'.*\.t$', '', utestfilters, utestpats), |
|
499 | ('unified test', r'.*\.t$', '', utestfilters, utestpats), |
@@ -13,9 +13,6 b' New errors are not allowed. Warnings are' | |||||
13 | > r.revision(r.node(x)) |
|
13 | > r.revision(r.node(x)) | |
14 | don't convert rev to node before passing to revision(nodeorrev) |
|
14 | don't convert rev to node before passing to revision(nodeorrev) | |
15 | Skipping i18n/polib.py it has no-che?k-code (glob) |
|
15 | Skipping i18n/polib.py it has no-che?k-code (glob) | |
16 | mercurial/demandimport.py:314: |
|
|||
17 | > if os.environ.get('HGDEMANDIMPORT') != 'disable': |
|
|||
18 | use encoding.environ instead (py3) |
|
|||
19 | mercurial/encoding.py:54: |
|
16 | mercurial/encoding.py:54: | |
20 | > environ = os.environ |
|
17 | > environ = os.environ | |
21 | use encoding.environ instead (py3) |
|
18 | use encoding.environ instead (py3) | |
@@ -30,15 +27,6 b' New errors are not allowed. Warnings are' | |||||
30 | use encoding.environ instead (py3) |
|
27 | use encoding.environ instead (py3) | |
31 | Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob) |
|
28 | Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob) | |
32 | Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob) |
|
29 | Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob) | |
33 | mercurial/policy.py:46: |
|
|||
34 | > if 'HGMODULEPOLICY' in os.environ: |
|
|||
35 | use encoding.environ instead (py3) |
|
|||
36 | mercurial/policy.py:47: |
|
|||
37 | > policy = os.environ['HGMODULEPOLICY'].encode('utf-8') |
|
|||
38 | use encoding.environ instead (py3) |
|
|||
39 | mercurial/policy.py:49: |
|
|||
40 | > policy = os.environ.get('HGMODULEPOLICY', policy) |
|
|||
41 | use encoding.environ instead (py3) |
|
|||
42 | Skipping mercurial/statprof.py it has no-che?k-code (glob) |
|
30 | Skipping mercurial/statprof.py it has no-che?k-code (glob) | |
43 | Skipping tests/badserverext.py it has no-che?k-code (glob) |
|
31 | Skipping tests/badserverext.py it has no-che?k-code (glob) | |
44 | [1] |
|
32 | [1] |
General Comments 0
You need to be logged in to leave comments.
Login now