summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
authorMartin Basti <martin.basti@gmail.com>2016-06-26 21:09:04 +0200
committerMartin Basti <martin.basti@gmail.com>2016-06-27 01:35:43 +0200
commitd7e0aefa19e33fdc896596ab0867ac5c86faf772 (patch)
tree55404877bb2cc71b257a5309a78752e28ff82f00 /pylintrc
parent257f2ae5d3c4e4dc93ccd472c4717c6b705c6e6d (diff)
downloaddnspython-d7e0aefa19e33fdc896596ab0867ac5c86faf772.tar.gz
Add pylint checker
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc73
1 files changed, 73 insertions, 0 deletions
diff --git a/pylintrc b/pylintrc
new file mode 100644
index 0000000..b305bda
--- /dev/null
+++ b/pylintrc
@@ -0,0 +1,73 @@
+[MASTER]
+# Pickle collected data for later comparisons.
+persistent=no
+
+# Use multiple processes to speed up Pylint.
+jobs=1
+
+[MESSAGES CONTROL]
+
+enable=
+ all,
+ python3
+
+disable=
+ R,
+ I,
+ anomalous-backslash-in-string,
+ arguments-differ,
+ assigning-non-slot,
+ attribute-defined-outside-init,
+ bad-builtin,
+ bad-continuation,
+ bad-whitespace,
+ bare-except,
+ basestring-builtin,
+ delslice-method,
+ deprecated-lambda,
+ deprecated-method,
+ dict-iter-method,
+ fixme,
+ getslice-method,
+ global-statement,
+ import-error,
+ invalid-name,
+ long-builtin,
+ missing-docstring,
+ no-absolute-import,
+ no-member,
+ notimplemented-raised,
+ old-division,
+ protected-access,
+ range-builtin-not-iterating,
+ redefined-builtin,
+ round-builtin,
+ superfluous-parens,
+ too-many-lines,
+ undefined-loop-variable,
+ undefined-variable,
+ unichr-builtin,
+ unicode-builtin,
+ unnecessary-lambda,
+ unneeded-not,
+ unused-argument,
+ unused-import,
+ unused-variable,
+ wrong-import-order,
+ wrong-import-position,
+ xrange-builtin
+
+
+[REPORTS]
+
+# Set the output format. Available formats are text, parseable, colorized, msvs
+# (visual studio) and html. You can also give a reporter class, eg
+# mypackage.mymodule.MyReporterClass.
+output-format=colorized
+
+# Tells whether to display a full report or only the messages
+reports=no
+
+# Template used to display messages. This is a python new-style format string
+# used to format the message information. See doc for all details
+msg-template='{path}:{line}: [{msg_id}({symbol}), {obj}] {msg})'