From 5194d0f242715014087c5726138522f5eadb1b45 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Sat, 19 May 2018 23:13:29 +0200 Subject: pylintrc: Add more pylint rules --- .pylintrc | 11 ++++++----- 1 file 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, -- cgit v1.2.3-55-g3dc8