@@ -30,10 +30,18 @@ disable=
3030 wildcard-import,
3131 locally-disabled,
3232 missing-module-docstring,
33- too-many-public-methods,
3433 missing-class-docstring,
3534 superfluous-parens,
36- too-many-arguments, # Need to support restic's many flags
35+ too-few-public-methods,
36+ too-many-ancestors,
37+ too-many-arguments,
38+ too-many-boolean-expressions,
39+ too-many-branches,
40+ too-many-instance-attributes,
41+ too-many-locals,
42+ too-many-public-methods,
43+ too-many-return-statements,
44+ too-many-statements,
3745 multiple-imports, # We're using isort to lint imports
3846 ungrouped-imports, # We're using isort to lint imports
3947 wrong-import-order, # We're using isort to lint imports
@@ -192,39 +200,6 @@ valid-metaclass-classmethod-first-arg=mcs
192200# warning.
193201exclude-protected =_asdict,_fields,_replace,_source,_make
194202
195- [DESIGN]
196-
197- # Maximum number of arguments for function / method
198- max-args =10
199-
200- # Argument names that match this expression will be ignored. Default to name
201- # with leading underscore
202- ignored-argument-names =_.*
203-
204- # Maximum number of locals for function / method body
205- max-locals =30
206-
207- # Maximum number of return / yield for function / method body
208- max-returns =100
209-
210- # Maximum number of branch for function / method body
211- max-branches =13
212-
213- # Maximum number of statements in function / method body
214- max-statements =100
215-
216- # Maximum number of parents for a class (see R0901).
217- max-parents =7
218-
219- # Maximum number of attributes for a class (see R0902).
220- max-attributes =10
221-
222- # Minimum number of public methods for a class (see R0903).
223- min-public-methods =0
224-
225- # Maximum number of boolean expressions in a if statement
226- max-bool-expr =5
227-
228203[IMPORTS]
229204
230205# Analyse import fallback blocks. This can be used to support both Python 2 and
0 commit comments