Skip to content

Commit 10a1d8f

Browse files
committed
fix: add type: ignore to rich.console import for pyright
1 parent 13c6389 commit 10a1d8f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,6 @@ reportMissingTypeStubs = false
476476
reportUnusedVariable = true
477477
reportUnusedImport = true
478478
reportPrivateUsage = false
479-
# rich and rich_argparse are optional dependencies used only when available
480-
ignorePackages = ["rich_argparse", "rich"]
481479
venvPath = "."
482480
venv = ".venv"
483481

src/orb/cli/args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from orb.domain.request.value_objects import RequestStatus
1717

1818
try:
19-
import rich.console as _rich_console
19+
import rich.console as _rich_console # type: ignore[import-untyped,import-not-found]
2020
from rich_argparse import (
2121
RichHelpFormatter as _RichHelpFormatter, # type: ignore[import-untyped,import-not-found]
2222
)

0 commit comments

Comments
 (0)