Skip to content

Commit ca532c0

Browse files
committed
add type checks
1 parent 0c1e86a commit ca532c0

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- run: uv sync --dev
1616
- run: uv run ruff check .
1717
- run: uv run ruff format --check .
18+
- run: uv run pyright
1819

1920
test:
2021
runs-on: ubuntu-latest

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies = [
1212

1313
[dependency-groups]
1414
dev = [
15+
"pyright>=1.1.391",
1516
"pytest>=8.4.2",
1617
"pytest-asyncio>=1.2.0",
1718
"pytest-cov>=7.0.0",
@@ -47,3 +48,8 @@ branch = true
4748
[tool.coverage.report]
4849
show_missing = true
4950
skip_covered = false
51+
52+
[tool.pyright]
53+
include = ["main.py", "mcp_client.py", "shell_engine.py", "toolhive_client.py", "tests"]
54+
pythonVersion = "3.13"
55+
typeCheckingMode = "standard"

uv.lock

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)