aboutsummaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-10-16 23:07:52 +0000
committerRob Austein <sra@hactrn.net>2015-10-16 23:07:52 +0000
commit6d5fe21be4393ef644965669b4de2c976bc0096f (patch)
tree076b45bf49c706c62e8167dd4da0041725033b1c /buildtools
parent8734d57231a81d28ed60e417b9a6361c412c0f8b (diff)
PyLint. As usual, a lot of noise and a handful of real, albeit minor, bugs.
svn path=/branches/tk705/; revision=6123
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/pylint.rc15
1 files changed, 12 insertions, 3 deletions
diff --git a/buildtools/pylint.rc b/buildtools/pylint.rc
index ed296108..34302f74 100644
--- a/buildtools/pylint.rc
+++ b/buildtools/pylint.rc
@@ -19,11 +19,21 @@
[MASTER]
profile=no
-ignore=.svn
+
+# Including "gui" here is a temporary measure: it's risky, but so is
+# making ten zillion cosmetic changes in a co-worker's code on a
+# long-running development branch.
+
+ignore=.svn,.git,migrations,south_migrations,irbe_cli,gui
+
persistent=yes
cache-size=500
load-plugins=
+# Extension (C, etc) modules that pylint should trust enough to import.
+
+extension-pkg-whitelist=lxml,rpki.POW
+
[MESSAGES CONTROL]
# Enable only checker(s) with the given id(s). This option conflicts with the
@@ -44,14 +54,13 @@ disable-msg-cat=
#enable-msg=
# Disable the message(s) with the given id(s).
-disable=R0801,R0903,R0913,C0321,R0904,W0201,E1101,W0614,C0301,R0901,C0302,R0902,R0201,W0613,R0912,R0915,W0703,W0212,R0914,W0603,W0142,I0011,C0111,C0103,R0401,C0326,R0911,C0325
+disable=R0801,R0903,R0913,C0321,R0904,W0201,E1101,W0614,C0301,R0901,C0302,R0902,R0201,W0613,R0912,R0915,W0703,W0212,R0914,W0603,W0142,I0011,C0111,C0103,R0401,C0326,R0911,C0325,C0330,W0311,E1124
[REPORTS]
#output-format=parseable
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
-include-ids=yes
files-output=no
reports=no
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)