lint: drop mypy-style type ignore comments

This commit is contained in:
2026-08-03 23:38:32 +08:00
parent a834984bcc
commit 3449f3a77d
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ def _open_with_system_default(path: Path) -> None:
resolved = str(path.resolve())
if sys.platform == "win32":
try:
os.startfile(resolved) # type: ignore[attr-defined]
os.startfile(resolved)
except OSError as exc:
msg = f"failed to open with system default: {exc}"
raise click.ClickException(msg) from exc