aboutsummaryrefslogtreecommitdiff
path: root/buildtools/pylint.rc
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-10-18 23:53:23 +0000
committerRob Austein <sra@hactrn.net>2012-10-18 23:53:23 +0000
commitc4be735c645bdbcb86b2448899a3aa664d5e97df (patch)
treeebaa086e7376be3a512eab0fccce05494ef602a5 /buildtools/pylint.rc
parent5897dfa4261927dafabc3ed6c16f27aa932efc42 (diff)
pylint
svn path=/branches/tk274/; revision=4786
Diffstat (limited to 'buildtools/pylint.rc')
-rw-r--r--buildtools/pylint.rc14
1 files changed, 13 insertions, 1 deletions
diff --git a/buildtools/pylint.rc b/buildtools/pylint.rc
index 5e555f45..872345fb 100644
--- a/buildtools/pylint.rc
+++ b/buildtools/pylint.rc
@@ -4,6 +4,18 @@
# differs enough from mine that it's not really usable without
# customization. Useful options: --help, --generate-rcfile.
+# Note that, in addition to disabling unhelpful messages globally, one
+# can disable specific messages for an entire module or for a specific
+# known issue, using magic comments in the Python source code. Form
+# of the comment is the same in either case, how much it controls
+# depends on the scope in which one places the comment. Format:
+#
+# # pylint: disable=code,code,...
+#
+# At top level in a module (eg, right before first import), it
+# disables for a module. Within blocks (eg, as a comment on the line
+# defining formal parameters to a function) it only in that scope.
+
[MASTER]
profile=no
@@ -32,7 +44,7 @@ disable-msg-cat=
#enable-msg=
# Disable the message(s) with the given id(s).
-disable-msg=R0801,R0903,R0913,C0321,R0904,W0201,E1101,W0614,C0301,R0901,C0302,R0902,R0201,W0613,R0912,R0915,W0703,W0212,R0914,W0603
+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
[REPORTS]