tests/test-check-code.t
changeset 30697 13d94304c8da
parent 30670 5861bdbeb9a3
child 31370 8a17c541177f
equal deleted inserted replaced
30696:667d9c93c412 30697:13d94304c8da
     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   $ hg locate -X contrib/python-zstandard -X hgext/fsmonitor/pywatchman |
    10   $ hg locate -X contrib/python-zstandard -X hgext/fsmonitor/pywatchman |
    11   > sed 's-\\-/-g' | xargs "$check_code" --warnings --per-file=0 || false
    11   > sed 's-\\-/-g' | xargs "$check_code" --warnings --per-file=0 || false
    12   Skipping i18n/polib.py it has no-che?k-code (glob)
    12   Skipping i18n/polib.py it has no-che?k-code (glob)
    13   mercurial/demandimport.py:309:
    13   mercurial/demandimport.py:312:
    14    >     if os.environ.get('HGDEMANDIMPORT') != 'disable':
    14    >     if os.environ.get('HGDEMANDIMPORT') != 'disable':
    15    use encoding.environ instead (py3)
    15    use encoding.environ instead (py3)
    16   mercurial/encoding.py:54:
    16   mercurial/encoding.py:54:
    17    >     environ = os.environ
    17    >     environ = os.environ
    18    use encoding.environ instead (py3)
    18    use encoding.environ instead (py3)