Skip to content

Commit

Permalink
ci: Update pylint to ignore R0917
Browse files Browse the repository at this point in the history
  • Loading branch information
titom73 committed Oct 15, 2024
1 parent 9597cb2 commit 6c3f464
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions eos_downloader/cli/get/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion eos_downloader/cli/info/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion eos_downloader/object_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(
token: str,
software: str = "EOS",
hash_method: str = "md5sum",
):
): # pylint: disable=R0917
"""
__init__ Class constructor
Expand Down
3 changes: 2 additions & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c3f464

Please sign in to comment.