Skip to content

Commit 6ceb446

Browse files
committed
fix CI workflow: add missing deps and pyproject.toml config
Install anthropic and mcp in CI so pyright/pytest can resolve all imports. Add pyproject.toml with ruff target-version and pyright pythonVersion set to py311. Run pull_request on all branches.
1 parent a2b94ab commit 6ceb446

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/setup-python@v5
2626
with:
2727
python-version: "3.13"
28-
- run: pip install pyright pyyaml
28+
- run: pip install pyright pyyaml anthropic mcp
2929
- run: pyright
3030

3131
test:
@@ -36,5 +36,5 @@ jobs:
3636
- uses: actions/setup-python@v5
3737
with:
3838
python-version: "3.13"
39-
- run: pip install pytest pyyaml
39+
- run: pip install pytest pyyaml anthropic
4040
- run: pytest plugins/

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[tool.ruff]
2+
target-version = "py311"
3+
4+
[tool.pyright]
5+
pythonVersion = "3.11"

0 commit comments

Comments
 (0)