summaryrefslogtreecommitdiffstats
path: root/.pylintrc
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2018-05-19 23:13:29 +0200
committerJelle van der Waa <jelle@vdwaa.nl>2018-05-19 23:13:29 +0200
commit5194d0f242715014087c5726138522f5eadb1b45 (patch)
tree606551fefffef9a8cc316b9cdfbe75c6a4219902 /.pylintrc
parent9540066f10ad87a6cec42fea17c1d0af98841130 (diff)
downloadarchweb-5194d0f242715014087c5726138522f5eadb1b45.tar.gz
archweb-5194d0f242715014087c5726138522f5eadb1b45.zip
pylintrc: Add more pylint rules
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc11
1 files changed, 6 insertions, 5 deletions
diff --git a/.pylintrc b/.pylintrc
index e7003f46..95f388bb 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -87,18 +87,21 @@ enable=import-self,
return-outside-function,
unnecessary-lambda,
unnecessary-pass,
+ deprecated-lambda,
+ deprecated-method,
+ using-constant-test,
+ useless-else-on-loop,
+ duplicate-argument-name,
+ return-outside-function,
- # deprecated-method,
# anomalous-unicode-escape-in-string,
# anomalous-backslash-in-string,
# function-redefined,
# abstract-class-instantiated,
# star-needs-assignment-target,
- # duplicate-argument-name,
# return-in-init,
# too-many-star-expressions,
# nonlocal-and-global,
- # return-outside-function,
# return-arg-in-generator,
# invalid-star-assignment-target,
# bad-reversed-sequence,
@@ -115,7 +118,6 @@ enable=import-self,
# confusing-with-statement,
# pointless-statement,
# pointless-string-statement,
- # unnecessary-pass,
# eval-used,
# exec-used,
# bad-builtin,
@@ -202,7 +204,6 @@ enable=import-self,
# logging-too-few-args,
# logging-too-many-args,
# logging-unsupported-format,
- # logging-not-lazy,
# logging-format-interpolation,
# invalid-unary-operand-type,
# unsupported-binary-operation,