sapling/tests/test-check-pylint.t
Durham Goode 9b9a988499 hg: drop hg10 requirement for jshint and pylint
Summary:
Just drops the hg10 requirement since version numbers work differently
in our repo.  These still don't run unless you have the appropriate jshint and
pylint programs installed (which I don't).

Reviewed By: quark-zju

Differential Revision: D6802387

fbshipit-source-id: bdfda8257c358b3a6db839aa130b555124c8ef04
2018-04-13 21:50:56 -07:00

21 lines
542 B
Perl

#require test-repo pylint
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 \
> --ignore=thirdparty \
> mercurial hgdemandimport hgext hgext3rd
(?)
------------------------------------ (?)
Your code has been rated at 10.00/10 (?)
(?)