summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-07-31 16:03:09 -0700
committerBob Halley <halley@dnspython.org>2020-07-31 16:03:09 -0700
commit049eedd8ab25f211d0fcd88726098327cc27ddb2 (patch)
tree0b79e3da4f29d4d85a4eddac0e2879925c49dc7b /pylintrc
parent96429bc53f2912fc8065439c7adac83a87ef806b (diff)
downloaddnspython-049eedd8ab25f211d0fcd88726098327cc27ddb2.tar.gz
pylint linting
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc23
1 files changed, 6 insertions, 17 deletions
diff --git a/pylintrc b/pylintrc
index 2a7f718..809d654 100644
--- a/pylintrc
+++ b/pylintrc
@@ -9,7 +9,6 @@ jobs=0
enable=
all,
- python3
# It's worth looking at len-as-condition for optimization, but it's disabled
# here as it is not a correctness thing. Similarly eq-without-hash is
@@ -18,36 +17,26 @@ enable=
disable=
R,
I,
- anomalous-backslash-in-string,
- arguments-differ,
- assigning-non-slot,
- bad-builtin,
- bad-continuation,
broad-except,
- deprecated-method,
fixme,
global-statement,
invalid-name,
- missing-docstring,
+ missing-module-docstring,
+ missing-class-docstring,
+ missing-function-docstring,
no-absolute-import,
- no-member,
+ no-member, # We'd like to use this, but our immutability is too hard for it
protected-access,
redefined-builtin,
too-many-lines,
- unused-argument,
- unused-variable,
- wrong-import-order,
- wrong-import-position,
- len-as-condition,
- eq-without-hash,
- next-method-defined,
[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
+#output-format=colorized
+output-format=parseable
# Tells whether to display a full report or only the messages
reports=no