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
--- 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