Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 22, 2024
1 parent 57c74b9 commit 8f428b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion anta/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class AntaTemplate:

# pylint: disable=too-few-public-methods

def __init__( # noqa: PLR0913
def __init__(
self,
template: str,
version: Literal[1, "latest"] = "latest",
Expand Down
2 changes: 1 addition & 1 deletion asynceapi/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Device(httpx.AsyncClient):
EAPI_OFMT_OPTIONS = ("json", "text")
EAPI_DEFAULT_OFMT = "json"

def __init__( # noqa: PLR0913 # pylint: disable=too-many-arguments
def __init__( # pylint: disable=too-many-arguments
self,
host: str | None = None,
username: str | None = None,
Expand Down
2 changes: 1 addition & 1 deletion asynceapi/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class EapiCommandError(RuntimeError):
not_exec: a list of commands that were not executed
"""

def __init__(self, failed: str, errors: list[str], errmsg: str, passed: list[str | dict[str, Any]], not_exec: list[dict[str, Any]]) -> None: # noqa: PLR0913 # pylint: disable=too-many-arguments
def __init__(self, failed: str, errors: list[str], errmsg: str, passed: list[str | dict[str, Any]], not_exec: list[dict[str, Any]]) -> None: # pylint: disable=too-many-arguments
"""Initialize for the EapiCommandError exception."""
self.failed = failed
self.errmsg = errmsg
Expand Down

0 comments on commit 8f428b3

Please sign in to comment.