summaryrefslogtreecommitdiff
path: root/git-p4.py
diff options
context:
space:
mode:
authorLuke Diamand <luke@diamand.org>2020-01-29 11:12:43 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-01-30 20:20:58 (GMT)
commit4c1d58675d07296adb2cf40b4b1c24f8d7a20d75 (patch)
treea6f2348d576b8c03310514f1124d288f9f1efb28 /git-p4.py
parent5c3d5020e66caad0418b5696ba0f3d013641fcdd (diff)
downloadgit-4c1d58675d07296adb2cf40b4b1c24f8d7a20d75.zip
git-4c1d58675d07296adb2cf40b4b1c24f8d7a20d75.tar.gz
git-4c1d58675d07296adb2cf40b4b1c24f8d7a20d75.tar.bz2
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>
Diffstat (limited to 'git-p4.py')
-rwxr-xr-xgit-p4.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/git-p4.py b/git-p4.py
index df2a956..d796074 100755
--- a/git-p4.py
+++ b/git-p4.py
@@ -7,6 +7,14 @@
# 2007 Trolltech ASA
# License: MIT <http://www.opensource.org/licenses/mit-license.php>
#
+# pylint: disable=invalid-name,missing-docstring,too-many-arguments,broad-except
+# pylint: disable=no-self-use,wrong-import-position,consider-iterating-dictionary
+# pylint: disable=wrong-import-order,unused-import,too-few-public-methods
+# pylint: disable=too-many-lines,ungrouped-imports,fixme,too-many-locals
+# pylint: disable=line-too-long,bad-whitespace,superfluous-parens
+# pylint: disable=too-many-statements,too-many-instance-attributes
+# pylint: disable=too-many-branches,too-many-nested-blocks
+#
import sys
if sys.hexversion < 0x02040000:
# The limiter is the subprocess module