Skip to content

Commit a624b9c

Browse files
committed
fix(ci): fix pyright missing import and shellcheck warning
- args.py: add type: ignore[import] to rich_argparse import so pyright doesn't fail in CI environments where rich_argparse is not installed - install.sh: remove unused VENV_PYTHON variable (shellcheck SC2034)
1 parent 2a3fcbe commit a624b9c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

dev-tools/install/install.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ else
158158
info "reusing existing virtual environment at ${VENV_PATH}"
159159
fi
160160

161-
VENV_PYTHON="${VENV_PATH}/bin/python"
162161
VENV_PIP="${VENV_PATH}/bin/pip"
163162

164163
# ---------------------------------------------------------------------------

src/orb/cli/args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
try:
1919
import rich.console as _rich_console
2020
from rich_argparse import (
21-
RichHelpFormatter as _RichHelpFormatter, # type: ignore[import-untyped]
21+
RichHelpFormatter as _RichHelpFormatter, # type: ignore[import-untyped,import]
2222
)
2323

2424
class _TtyAwareFormatter(_RichHelpFormatter):

0 commit comments

Comments
 (0)