mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
9b9a988499
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
21 lines
542 B
Perl
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 (?)
|
|
(?)
|