diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2017-08-28 21:24:50 +0200 |
---|---|---|
committer | Jelle van der Waa <jelle@vdwaa.nl> | 2017-08-28 21:24:50 +0200 |
commit | ad3638226c75545fb37bb776396f4b40c693bbc0 (patch) | |
tree | 51ffbd7328174ff57bca13444221fd9b70b73191 | |
parent | baec4f54b3ed4701ea4ab6eb80c4366c1b57baed (diff) | |
download | archweb-ad3638226c75545fb37bb776396f4b40c693bbc0.tar.gz archweb-ad3638226c75545fb37bb776396f4b40c693bbc0.zip |
pylint: Introduce more checks
-rw-r--r-- | .pylintrc | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -80,7 +80,13 @@ enable=import-self, logging-unsupported-format, logging-not-lazy, unused-variable, - deprecated-method + deprecated-method, + unreachable, + continue-in-finally, + not-in-loop, + return-outside-function, + unnecessary-lambda, + unnecessary-pass, # Things we'd like to enable someday: # redefined-outer-name (requires a bunch of work to clean up our code first) @@ -97,9 +103,7 @@ enable=import-self, # deprecated-method, # anomalous-unicode-escape-in-string, # anomalous-backslash-in-string, - # not-in-loop, # function-redefined, - # continue-in-finally, # abstract-class-instantiated, # star-needs-assignment-target, # duplicate-argument-name, @@ -121,11 +125,9 @@ enable=import-self, # useless-else-on-loop, # expression-not-assigned, # confusing-with-statement, - # unnecessary-lambda, # pointless-statement, # pointless-string-statement, # unnecessary-pass, - # unreachable, # eval-used, # exec-used, # bad-builtin, |