tests/test-check-pylint.t
author Matt Harbison <matt_harbison@yahoo.com>
Sun, 02 Apr 2017 02:24:09 -0400
changeset 31772 3433bf56b768
parent 31413 aa797bd54f44
child 31839 5b048d5f8884
permissions -rw-r--r--
test-subrepo: update output for Windows

#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