mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
fix lint issue
This commit is contained in:
parent
3fb74f9789
commit
03f8015e71
2 changed files with 6 additions and 2 deletions
|
|
@ -131,10 +131,10 @@ jobs = 4
|
||||||
output-format = colorized
|
output-format = colorized
|
||||||
|
|
||||||
# Maximum number of locals for function / method body
|
# Maximum number of locals for function / method body
|
||||||
max-locals = 20
|
max-locals = 17
|
||||||
|
|
||||||
# Maximum number of arguments for function / method
|
# Maximum number of arguments for function / method
|
||||||
max-args = 12
|
max-args = 8
|
||||||
|
|
||||||
# Maximum number of branch for function / method body
|
# Maximum number of branch for function / method body
|
||||||
max-branches = 14
|
max-branches = 14
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,10 @@ logger = logging.getLogger("bumpver.cli")
|
||||||
_VERBOSE = 0
|
_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:
|
def _configure_logging(verbose: int = 0) -> None:
|
||||||
# pylint:disable=global-statement; global flag is global.
|
# pylint:disable=global-statement; global flag is global.
|
||||||
global _VERBOSE
|
global _VERBOSE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue