From ad3638226c75545fb37bb776396f4b40c693bbc0 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 28 Aug 2017 21:24:50 +0200 Subject: pylint: Introduce more checks --- .pylintrc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to '.pylintrc') diff --git a/.pylintrc b/.pylintrc index 8a39c21a..25cac577 100644 --- a/.pylintrc +++ b/.pylintrc @@ -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, -- cgit v1.2.3-55-g3dc8