From b6e190098bc0269d957349878362eb3cdd98f9ac Mon Sep 17 00:00:00 2001 From: sebthom Date: Mon, 10 Oct 2022 20:24:55 +0200 Subject: [PATCH] relax linter config --- pyproject.toml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 80656b3..f743652 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -158,14 +158,17 @@ disable= [ ] [tool.pylint.miscelaneous] -notes = [ "FIXME", "XXX", "TODO" ] +# https://pylint.pycqa.org/en/latest/user_guide/configuration/all-options.html#miscellaneous-checker +notes = [ "FIXME", "XXX", "TODO" ] # list of note tags to take in consideration [tool.pylint.design] -max-attributes = 10 -max-branches = 30 -max-locals = 30 -max-returns = 10 -max-statements = 80 +# https://pylint.pycqa.org/en/latest/user_guide/configuration/all-options.html#design-checker +# https://pylint.pycqa.org/en/latest/user_guide/checkers/features.html#design-checker-messages +max-attributes = 15 # maximum number of instance attributes for a class (R0902) +max-branches = 30 # maximum number of branch for function / method body (R0912) +max-locals = 30 # maximum number of local variables for function / method body (R0914) +max-returns = 10 # maximum number of return / yield for function / method body (R0911) +max-statements = 80 # maximum number of statements in function / method body (R0915) #####################