Buckets:
| """Make ``src/`` importable during tests without requiring an editable install. | |
| Keeps ``pytest -q`` working straight from a fresh clone, which matters because the | |
| unit tests are deliberately runnable with no GPU, no model weights and no dataset. | |
| """ | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| SRC = Path(__file__).resolve().parent / "src" | |
| if str(SRC) not in sys.path: | |
| sys.path.insert(0, str(SRC)) | |
Xet Storage Details
- Size:
- 433 Bytes
- Xet hash:
- 39027f29e0f02c94455628c600ad6b1e42ada0005e0970e3966a4bf0af39b57a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.