From 6da6810cc4f3323052a4f41eea15e89ed1ae2cf7 Mon Sep 17 00:00:00 2001 From: Kostya Esmukov Date: Sat, 12 Nov 2022 11:30:32 +0200 Subject: [PATCH] Fix pylintrc errors .pylintrc:1:0: E0015: Unrecognized option found: argument-name-hint, attr-name-hint, class-attribute-name-hint, class-name-hint, const-name-hint, function-name-hint, inlinevar-name-hint, method-name-hint, module-name-hint, variable-name-hint, no-space-check, optimize-ast, files-output (unrecognized-option) .pylintrc:1:0: R0022: Useless option value for '--disable', 'bad-continuation' was removed from pylint, see https://github.com/PyCQA/pylint/pull/3571. (useless-option-value) --- .pylintrc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.pylintrc b/.pylintrc index 3f5423a..9bfb770 100644 --- a/.pylintrc +++ b/.pylintrc @@ -1,30 +1,20 @@ [BASIC] -argument-name-hint = [a-z_][a-z0-9_]{2,30}$ argument-rgx = [a-z_][a-z0-9_]{2,30}$ -attr-name-hint = [a-z_][a-z0-9_]{2,30}$ attr-rgx = [a-z_][a-z0-9_]{2,30}$ bad-names = foo,bar,baz,toto,tutu,tata -class-attribute-name-hint = ([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$ class-attribute-rgx = ([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$ -class-name-hint = [A-Z_][a-zA-Z0-9]+$ class-rgx = [A-Z_][a-zA-Z0-9]+$ -const-name-hint = (([A-Z_][A-Z0-9_]*)|(__.*__))$ const-rgx = (([A-Z_][A-Z0-9_]*)|(__.*__))$ docstring-min-length = -1 -function-name-hint = [a-z_][a-z0-9_]{2,30}$ function-rgx = [a-z_][a-z0-9_]{2,30}$ good-names = i,j,k,_,it include-naming-hint = no -inlinevar-name-hint = [A-Za-z_][A-Za-z0-9_]*$ inlinevar-rgx = [A-Za-z_][A-Za-z0-9_]*$ -method-name-hint = [a-z_][a-z0-9_]{2,30}$ method-rgx = [a-z_][a-z0-9_]{2,30}$ -module-name-hint = (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ module-rgx = (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ name-group = no-docstring-rgx = ^_ property-classes = abc.abstractproperty -variable-name-hint = [a-z_][a-z0-9_]{2,30}$ variable-rgx = [a-z_][a-z0-9_]{2,30}$ [CLASSES] @@ -59,7 +49,6 @@ indent-after-paren = 4 indent-string = ' ' max-line-length = 88 max-module-lines = 1000 -no-space-check = trailing-comma,dict-separator single-line-if-stmt = no [IMPORTS] @@ -80,21 +69,18 @@ ignore = CVS ignore-patterns = jobs = 1 load-plugins = -optimize-ast = no persistent = yes unsafe-load-any-extension = no [MESSAGES CONTROL] confidence = disable = I, - bad-continuation, [MISCELLANEOUS] notes = FIXME,XXX,TODO [REPORTS] evaluation = 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) -files-output = no output-format = text reports = yes