changeset 35630:6061e54ff81d

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
author Boris Feld <boris.feld@octobus.net>
date Mon, 09 Oct 2017 11:46:27 +0200
parents 31451f3f4b56
children edbe11cfedcf
files tests/test-check-pylint.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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