summaryrefslogtreecommitdiffstats
path: root/testsuite/pylintrc.conf
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/pylintrc.conf')
-rw-r--r--testsuite/pylintrc.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/testsuite/pylintrc.conf b/testsuite/pylintrc.conf
index 63cc8eed8..e44ad36e7 100644
--- a/testsuite/pylintrc.conf
+++ b/testsuite/pylintrc.conf
@@ -34,6 +34,38 @@ load-plugins=
# multiple time (only on the command line, not in the configuration file where
# it should appear only once).
disable=F0401,W0142,W0511,W0603,W1201,R0201,R0801,R0901,R0902,R0903,R0904,R0921,R0922,C0302,I0011
+# Some of these are disabled because they warn about things we _want_:
+#
+# * W0142: Used * or ** magic
+# * W1201: Specify string format arguments as logging function parameters
+# * I0011: Locally disabling a pylint message
+# * R0921: Abstract class not referenced
+# * R0922: Abstract class is only referenced a small number of times
+#
+# We have several modules, e.g., Bcfg2.Server.Plugin.interfaces, that
+# only declare abstract classes, which makes R0921 and R0922 useless.
+
+# Some of these are disabled because they just aren't that useful:
+#
+# * R0901: Too many ancestors
+# * R0902: Too many instance attributes
+# * R0903: Too few public methods
+# * R0904: Too many public methods
+
+# Some of these are disabled because they cause lots of errors with no
+# obvious solutions, but we should try to enable them at some point in
+# the future:
+#
+# * W0511: FIXME or TODO
+# * W0603: Using the global statement
+# * R0201: Method could be a function
+# * R0801: Similar lines in files
+# * C0302: Too many lines in module
+
+# Some of these are disabled for various other reasons:
+
+# * F0401: Unable to import a module: Bcfg2 has loads and loads of
+# optional dependencies
[REPORTS]