| 1 |
Environment |
| 2 |
- Install deps (uses default groups test, docs): |
| 3 |
- uv sync |
| 4 |
|
| 5 |
Core Dev |
| 6 |
- Run tests: |
| 7 |
- uv run pytest |
| 8 |
- Lint (ruff): |
| 9 |
- uv run ruff check . |
| 10 |
- uv run ruff check . --fix # optional autofix |
| 11 |
- Type check (mypy strict): |
| 12 |
- uv run mypy |
| 13 |
- Build docs: |
| 14 |
- uv run mkdocs serve --dev-addr localhost:8000 |
| 15 |
- uv run mkdocs build --clean --strict |
| 16 |
|
| 17 |
Entrypoints / Tooling |
| 18 |
- CLI version/debug: |
| 19 |
- uv run python -m setuptools_scm --help |
| 20 |
- uv run python -m setuptools_scm |
| 21 |
- uv run setuptools-scm --help |
| 22 |
- Build dist and verify: |
| 23 |
- uv run python -m build |
| 24 |
- uv run twine check dist/* |
| 25 |
- Optional matrix via tox: |
| 26 |
- uv run tox -q |
| 27 |
|
| 28 |
Git/Linux Utilities (Linux host) |
| 29 |
- git status / git log --oneline --graph --decorate |
| 30 |
- ls -la; find . -name "pattern"; grep -R "text" . |