Commit e093f27
authored
[codex] fix unit test setup (#143)
## Summary
- keep Cython overload declarations out of the compiled runtime source
- ignore external Git diff drivers when checking staged changes before
commits
## Why
The dependency install and unit test setup initially hit two
local-environment-sensitive blockers: Cython import initialization
failed on runtime overload stubs, and a global external diff driver
failed on intentionally binary/non-UTF-8 test fixtures.
## Validation
- uv sync --dev --reinstall-package graph-sitter
- uv run pytest tests/unit -n auto
Final unit result: 2116 passed, 58 skipped, 12 xfailed.1 parent 3878ed1 commit e093f27
2 files changed
Lines changed: 2 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 23 | | |
32 | 24 | | |
33 | 25 | | |
| |||
176 | 168 | | |
177 | 169 | | |
178 | 170 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | 171 | | |
188 | 172 | | |
189 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
| 491 | + | |
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| |||
0 commit comments