##// END OF EJS Templates
merge default into stable for 3.1 code freeze
merge default into stable for 3.1 code freeze

File last commit:

r21225:c58aa73b default
r21926:6c36dc6c merge 3.1-rc stable
Show More
test-check-code-hg.t
17 lines | 664 B | text/troff | Tads3Lexer
/ tests / test-check-code-hg.t
Matt Mackall
test-check-code-hg: use test-repo check
r21223 #if test-repo
Mads Kiilerich
tests: convert test-check-code-hg.py to .t
r15557 $ check_code="$TESTDIR"/../contrib/check-code.py
$ cd "$TESTDIR"/..
Mads Kiilerich
tests: run check-code with warnings and maintain a whitelist...
r15558
Simon Heimberg
tests: check-code all python files in one run
r19384 New errors are not allowed. Warnings are strongly discouraged.
Simon Heimberg
check-code: always report when a file is skipped by "no-check-code"...
r20239 (The writing "no-che?k-code" is for not skipping this file when checking.)
Simon Heimberg
tests: check-code all python files in one run
r19384
Matt Mackall
test-check-code-hg: use locate instead of manifest
r21225 $ hg locate | sed 's-\\-/-g' |
Simon Heimberg
tests: test-check-code-hg.t works for all files to check...
r19495 > xargs "$check_code" --warnings --per-file=0 || false
Simon Heimberg
check-code: always report when a file is skipped by "no-check-code"...
r20239 Skipping hgext/zeroconf/Zeroconf.py it has no-che?k-code (glob)
Skipping i18n/polib.py it has no-che?k-code (glob)
Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob)
Matt Mackall
test-check-code-hg: use test-repo check
r21223
#endif