##// END OF EJS Templates
context: add an assertion checking linerange consistency in blockdescendants()...
context: add an assertion checking linerange consistency in blockdescendants() If this assertion fails, this indicates a flaw in the algorithm. So fail fast instead of possibly producing wrong results. Also extend the target line range in test to catch a merge changeset with all its parents.

File last commit:

r31839:5b048d5f default
r31991:55987fc8 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 (?)
(?)