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
3434uv sync --dev
3535```
3636
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+
3741### Running Tests
3842
3943``` bash
40- # Unit tests
44+ # Unit tests (tests atomic functionality)
4145uv run pytest tests/unit -n auto
4246
43- # Codemod tests
47+ # Codemod tests (tests larger programs)
4448uv run pytest tests/codemod/test_codemods.py -n auto
4549```
4650
Original file line number Diff line number Diff line change 2626
2727try :
2828 REPO_ID_TO_URL = json .loads ((TEST_DIR / "repos" / "repos.json" ).read_text ())
29- except FileNotFoundError :
29+ except ( FileNotFoundError , json . decoder . JSONDecodeError ) :
3030 REPO_ID_TO_URL = {}
3131if TYPE_CHECKING :
3232 from graph_sitter .codemod import Codemod3
You can’t perform that action at this time.
0 commit comments