diff --git a/eos_downloader/cli/get/commands.py b/eos_downloader/cli/get/commands.py index 498473a..a622629 100644 --- a/eos_downloader/cli/get/commands.py +++ b/eos_downloader/cli/get/commands.py @@ -124,6 +124,7 @@ def eos( latest: bool = False, branch: Union[str, None] = None, ) -> int: +# pylint: disable=R0917 """Download EOS image from Arista website""" console = Console() # Get from Context diff --git a/eos_downloader/cli/info/commands.py b/eos_downloader/cli/info/commands.py index 64097a1..f64ff5d 100644 --- a/eos_downloader/cli/info/commands.py +++ b/eos_downloader/cli/info/commands.py @@ -71,7 +71,7 @@ def eos_versions( latest: bool = False, verbose: bool = False, ) -> None: - # pylint: disable = too-many-branches + # pylint: disable = too-many-branches, R0917 """ List Available EOS version on Arista.com website. diff --git a/eos_downloader/object_downloader.py b/eos_downloader/object_downloader.py index 3a22312..e62fa88 100644 --- a/eos_downloader/object_downloader.py +++ b/eos_downloader/object_downloader.py @@ -59,7 +59,7 @@ def __init__( token: str, software: str = "EOS", hash_method: str = "md5sum", - ): + ): # pylint: disable=R0917 """ __init__ Class constructor diff --git a/pylintrc b/pylintrc index dd7dfff..be2973c 100644 --- a/pylintrc +++ b/pylintrc @@ -3,7 +3,8 @@ disable= invalid-name, logging-fstring-interpolation, fixme, - line-too-long + line-too-long, + too-many-arguments [BASIC] good-names=runCmds, i, y, t, c, x, e, fd, ip, v diff --git a/pyproject.toml b/pyproject.toml index 4940fac..5dc0bb6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -174,7 +174,7 @@ commands = description = check the code style commands = flake8 --max-line-length=165 --config=/dev/null eos_downloader - pylint eos_downloader + pylint --rcfile=pylintrc eos_downloader [testenv:type] description = check typing