##// END OF EJS Templates
errors: stop passing non-strings to Abort's constructor...
errors: stop passing non-strings to Abort's constructor The next patch will change `Abort`'s constructor and `__bytes__` functions and they will start assuming that the first argument is the messages as `bytes`. Differential Revision: https://phab.mercurial-scm.org/D9178

File last commit:

r38206:6ae62d62 stable
r46273:a736ab68 default
Show More
test-check-pylint.t
22 lines | 616 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 \
Boris Feld
pylint: add a check for multiple statement on a single line...
r35648 > --enable=W0102,C0321 \
Boris Feld
pylint: split command line argument on multiple lines...
r35645 > --reports=no \
Siddharth Agarwal
tests: disable lints on mercurial/thirdparty...
r34396 > --ignore=thirdparty \
Matt Harbison
tests: adapt test-check-pylint to run on Windows...
r38206 > mercurial hgdemandimport hgext hgext3rd | sed 's/\r$//'
Using config file *fakerc (glob) (?)
Jun Wu
test-check-pylint: match its output...
r31839 (?)
------------------------------------ (?)
Your code has been rated at 10.00/10 (?)
(?)