From 03f8015e716d14238238104eb3fe7ed37ae14c76 Mon Sep 17 00:00:00 2001 From: Manuel Barkhau Date: Thu, 13 May 2021 18:03:41 +0000 Subject: [PATCH] fix lint issue --- setup.cfg | 4 ++-- src/bumpver/cli.py | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index fef119d..6aee157 100644 --- a/setup.cfg +++ b/setup.cfg @@ -131,10 +131,10 @@ jobs = 4 output-format = colorized # Maximum number of locals for function / method body -max-locals = 20 +max-locals = 17 # Maximum number of arguments for function / method -max-args = 12 +max-args = 8 # Maximum number of branch for function / method body max-branches = 14 diff --git a/src/bumpver/cli.py b/src/bumpver/cli.py index b3d4b1f..a93ac10 100755 --- a/src/bumpver/cli.py +++ b/src/bumpver/cli.py @@ -45,6 +45,10 @@ logger = logging.getLogger("bumpver.cli") _VERBOSE = 0 +# pylint:disable=too-many-arguments; such is the cli +# pylint:disable=too-many-locals; such is the cli + + def _configure_logging(verbose: int = 0) -> None: # pylint:disable=global-statement; global flag is global. global _VERBOSE