pylint: add a check for multiple statement on a single line
authorBoris Feld <boris.feld@octobus.net>
Mon, 09 Oct 2017 11:46:27 +0200
changeset 35630 6061e54ff81d
parent 35629 31451f3f4b56
child 35631 edbe11cfedcf
pylint: add a check for multiple statement on a single line Now that they are all cleaned up, we can install a check so that no new occurrence appears. Differential Revision: https://phab.mercurial-scm.org/D1834
tests/test-check-pylint.t
--- a/tests/test-check-pylint.t	Mon Oct 09 11:45:21 2017 +0200
+++ b/tests/test-check-pylint.t	Mon Oct 09 11:46:27 2017 +0200
@@ -11,7 +11,7 @@
 
   $ touch $TESTTMP/fakerc
   $ pylint --rcfile=$TESTTMP/fakerc --disable=all \
-  >   --enable=W0102 \
+  >   --enable=W0102,C0321 \
   >   --reports=no \
   >   --ignore=thirdparty \
   >   mercurial hgdemandimport hgext hgext3rd