summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-09-14 16:32:56 -0700
committerGary E. Miller <gem@rellim.com>2018-09-14 16:39:46 -0700
commit68898995c26d54d7651fb1a12d194eb1534fb860 (patch)
treec5b8313f81bf84b4d7a612a3588e133763c3e911 /pylintrc
parent05f009fe7b695ebfed551853b16aa69df2aeb84e (diff)
downloadgpsd-68898995c26d54d7651fb1a12d194eb1534fb860.tar.gz
pylintrc: Disable many annoying pylint messages
gpsd does not try to conform to pylint, but pylint can be useful to find things like unused variables, missing docstrings, undefined variables, unused imports, etc. The whitespace checker in pylint conflicts with that in pycodestyle. pycodestyle replaces pep8 for checking PEP8 conformity. Use pylint as an advisory tool, not as a blunt instrument.
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc23
1 files changed, 23 insertions, 0 deletions
diff --git a/pylintrc b/pylintrc
new file mode 100644
index 00000000..1483017c
--- /dev/null
+++ b/pylintrc
@@ -0,0 +1,23 @@
+# gpsd configuration for pylintrc
+
+# gpsd does not try to conform to pylint, but pylint can be useful
+# to find things like unused variables, missing docstrings, undefined
+# variables, unused imports, etc.
+#
+# The whitespace checker in pylint conflicts with that in pycodestyle.
+# pycodestyle replaces pep8 for checking PEP8 conformity.
+#
+# Use pylint as an advisory tool, not as a blunt instrument.
+
+[MESSAGES CONTROL]
+
+# Disable warnings that are silly
+disable=bad-continuation,
+ invalid-name,
+ misplaced-comparison-constant,
+ no-self-use,
+ too-many-branches,
+ too-many-lines,
+ too-many-locals,
+ too-many-nested-blocks
+