Skip to content

Commit b1da3d0

Browse files
committed
ci: Ignore Ruff warnings
1 parent d5bf4e1 commit b1da3d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

duties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def coverage(ctx: Context) -> None:
238238

239239

240240
@duty
241-
def test(ctx: Context, *cli_args: str, match: str = "") -> None:
241+
def test(ctx: Context, *cli_args: str, match: str = "") -> None: # noqa: PT028
242242
"""Run the test suite.
243243
244244
Parameters:

src/mkdocstrings/_internal/handlers/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def get_templates_dir(self, handler: str | None = None) -> Path:
359359
"""
360360
handler = handler or self.name
361361
try:
362-
import mkdocstrings_handlers
362+
import mkdocstrings_handlers # noqa: PLC0415
363363
except ModuleNotFoundError as error:
364364
raise ModuleNotFoundError(f"Handler '{handler}' not found, is it installed?") from error
365365

0 commit comments

Comments
 (0)