File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,17 @@ source .venv/bin/activate
34
34
uv sync --dev
35
35
```
36
36
37
+ > [ !TIP]
38
+ > - If sync fails with ` missing field 'version' ` , you may need to delete lockfile and rerun ` rm uv.lock && uv sync --dev ` .
39
+ > - If sync fails with failed compilation, you may need to install clang and rerun ` uv sync --dev ` .
40
+
37
41
### Running Tests
38
42
39
43
``` bash
40
- # Unit tests
44
+ # Unit tests (tests atomic functionality)
41
45
uv run pytest tests/unit -n auto
42
46
43
- # Codemod tests
47
+ # Codemod tests (tests larger programs)
44
48
uv run pytest tests/codemod/test_codemods.py -n auto
45
49
```
46
50
Original file line number Diff line number Diff line change 26
26
27
27
try :
28
28
REPO_ID_TO_URL = json .loads ((TEST_DIR / "repos" / "repos.json" ).read_text ())
29
- except FileNotFoundError :
29
+ except ( FileNotFoundError , json . decoder . JSONDecodeError ) :
30
30
REPO_ID_TO_URL = {}
31
31
if TYPE_CHECKING :
32
32
from graph_sitter .codemod import Codemod3
You can’t perform that action at this time.
0 commit comments