@matheusbsbs / matheus-bagliano / commits / 4c1d58675d
Fork 0

git-p4: disable some pylint warnings, to get pylint output to something manageable

pylint is incredibly useful for finding bugs, but git-p4 has never used it, so there are a lot of warnings that while important, don't actually result in bugs. Let's turn those off for now, so we can get some useful output. Signed-off-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Luke Diamand committed Jan 29, 2020 at 11:12 UTC 4c1d58675d07296adb2cf40b4b1c24f8d7a20d75
1 file changed +8
git-p4.py
+8
@@ -7,6 +7,14 @@
7 # 2007 Trolltech ASA
8 # License: MIT <http://www.opensource.org/licenses/mit-license.php>
9 #
10 +# pylint: disable=invalid-name,missing-docstring,too-many-arguments,broad-except
11 +# pylint: disable=no-self-use,wrong-import-position,consider-iterating-dictionary
12 +# pylint: disable=wrong-import-order,unused-import,too-few-public-methods
13 +# pylint: disable=too-many-lines,ungrouped-imports,fixme,too-many-locals
14 +# pylint: disable=line-too-long,bad-whitespace,superfluous-parens
15 +# pylint: disable=too-many-statements,too-many-instance-attributes
16 +# pylint: disable=too-many-branches,too-many-nested-blocks
17 +#
18 import sys
19 if sys.hexversion < 0x02040000:
20 # The limiter is the subprocess module