Skip to content

Commit 64c9739

Browse files
committed
chore: linter issues
1 parent 79ae7ec commit 64c9739

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

craft_providers/hookutil.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def _check_project_exists(self) -> None:
126126
# Didn't find our project name
127127
raise HookError(f"Project {self._project} does not exist in LXD.")
128128

129-
def dprint(self, *args: Any, **kwargs: Any) -> None:
129+
def dprint(self, *args: Any, **kwargs: Any) -> None: # noqa: ANN401
130130
"""Print messages to stderr if debug=True.
131131
132132
Can treat this like normal print(), except can also pass an instance
@@ -147,7 +147,7 @@ def dprint(self, *args: Any, **kwargs: Any) -> None:
147147

148148
def lxc(
149149
self,
150-
*args: Any,
150+
*args: Any, # noqa: ANN401
151151
fail_msg: str | None = None,
152152
proj: bool = True,
153153
json_out: bool = True,

tests/unit/test_hookutil.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
remove_hook,
2626
)
2727

28-
2928
PROJECT_NAME = "fakeproj"
3029

3130

0 commit comments

Comments
 (0)