From a1990f8883853b0f50696dd5a8cfc673a8737215 Mon Sep 17 00:00:00 2001 From: sebthom Date: Tue, 11 Oct 2022 19:36:10 +0200 Subject: [PATCH] relax linter config --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f743652..3564a7f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -140,7 +140,9 @@ good-names = ["i", "j", "k", "v", "by", "ex", "fd", "_", "T"] [tool.pylint.format] # https://pylint.pycqa.org/en/latest/technical_reference/features.html#format-checker -max-line-length = 160 +# https://pylint.pycqa.org/en/latest/user_guide/checkers/features.html#format-checker-messages +max-line-length = 160 # maximum number of characters on a single line (C0301) +max-module-lines = 2000 # maximum number of lines in a module (C0302) [tool.pylint.logging] logging-modules = "logging" @@ -169,6 +171,7 @@ 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) +max-public-methods = 30 # maximum number of public methods for a class (R0904) #####################