##// END OF EJS Templates
verify: add a config option to skip certain flag processors...
verify: add a config option to skip certain flag processors Previously, "hg verify" verifies everything, which could be undesirable when there are expensive flag processor contents. This patch adds a "verify.skipflags" developer config. A flag processor will be skipped if (flag & verify.skipflags) == 0. In the LFS usecase, that means "hg verify --config verify.skipflags=8192" will not download all LFS blobs, which could be too large to be stored locally. Note: "renamed" is also skipped since its default implementation may call filelog.data() which will trigger the flag processor.

File last commit:

r31839:5b048d5f default
r32288:a2ab9ebc default
Show More
test-check-pylint.t
19 lines | 504 B | text/troff | Tads3Lexer
/ tests / test-check-pylint.t
Pierre-Yves David
test: add a basic 'test-check-pylint.t'...
r31413 #require test-repo pylint hg10
Run pylint for known rules we care about.
-----------------------------------------
There should be no recorded failures; fix the codebase before introducing a
new check.
Current checks:
- W0102: no mutable default argument
$ touch $TESTTMP/fakerc
$ pylint --rcfile=$TESTTMP/fakerc --disable=all \
> --enable=W0102 --reports=no \
> mercurial hgext hgext3rd
Jun Wu
test-check-pylint: match its output...
r31839 (?)
------------------------------------ (?)
Your code has been rated at 10.00/10 (?)
(?)