Skip to content

Commit 281cc06

Browse files
authored
Fix pyright CI hang by scoping analysis (#369)
1 parent af5fa01 commit 281cc06

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/pyright.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
run: uv venv && uv sync --all-extras
2323

2424
- name: pyright
25-
run: uv run pyright
25+
run: uv run pyright tinker_cookbook

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ exclude = [
8989
]
9090

9191
[tool.pyright]
92+
include = ["tinker_cookbook"]
9293
exclude = [
94+
".venv",
9395
# Vendored from HuggingFace, kept identical to upstream
9496
"kimi-k2.5-hf-tokenizer/tool_declaration_ts.py",
9597
]

0 commit comments

Comments
 (0)