feat: Upgrade to uv and Python 3.12
Test and coverage / build (push) Failing after 4m23s

This commit is contained in:
2026-06-27 22:34:50 +03:00
parent db1f6f421a
commit fd88aabe46
17 changed files with 749 additions and 60 deletions
+27
View File
@@ -0,0 +1,27 @@
.PHONY: sync requirements lint format test coverage pre-commit check
UV := uv
sync:
$(UV) sync
requirements:
$(UV) export --format requirements-txt --no-dev --no-hashes --no-header --no-annotate --frozen --output-file requirements.txt
lint:
$(UV) run ruff check .
format:
$(UV) run ruff format .
test:
$(UV) run pytest tests
coverage:
$(UV) run pytest --cov=src tests
$(UV) run coverage xml
pre-commit:
PRE_COMMIT_HOME=.pre-commit-cache $(UV) run pre-commit run --all-files
check: requirements lint format test pre-commit