diff --git a/setup.cfg b/setup.cfg index 7fa29262..a212e36c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,16 +23,17 @@ target-version = 'py33' ignore_missing_imports=True [pylint] -enable = missing-function-docstring, missing-class-docstring, protected-access, duplicate-code, no-member, + +max-line-length = 240 +good-names-rgxs = ^[_a-z][_a-z0-9]?$ # allow for 1-character variable names + +[pylint.MESSAGE CONTROL] +disable = all +enable = line-too-long, invalid-name, pointless-statement, + missing-function-docstring, missing-class-docstring, protected-access, duplicate-code, no-member, missing-module-docstring, unused-argument, consider-using-f-string, super-with-arguments, too-few-public-methods, redefined-builtin, line-too-long, too-many-arguments, redefined-outer-name, import-outside-toplevel, useless-object-inheritance, unused-variable, unexpected-keyword-arg, raise-missing-from, too-many-locals, unnecessary-dunder-call, wrong-import-position, too-many-public-methods, invalid-unary-operand-type, attribute-defined-outside-init, unspecified-encoding, no-else-return, invalid-overridden-method, cyclic-import, too-many-branches, dangerous-default-value, arguments-renamed, pointless-statement -max-line-length = 240 -good-names-rgxs = ^[_a-z][_a-z0-9]?$ # allow for 1-character variable names - -[pylint.MESSAGE CONTROL] -disable = all -enable = line-too-long, invalid-name, pointless-statement \ No newline at end of file