Switch to uv

This commit is contained in:
2025-08-15 22:31:26 +01:00
parent 7c509b17cc
commit 8eda174b62
7 changed files with 267 additions and 1847 deletions

View File

@@ -1,14 +1,10 @@
.venv:
python3 -m pip install poetry
python3 -m poetry install --with test,github
.PHONY: tests
tests: .venv
python3 -m poetry run pytest
tests:
uv run --dev --group github pytest
lint: .venv
python3 -m poetry run ruff check --output-format=github --select=E9,F63,F7,F82 --target-version=py37 .
python3 -m poetry run ruff check --output-format=github --target-version=py37 .
lint:
uv run --dev ruff check --output-format=github --select=E9,F63,F7,F82 .
uv run --dev ruff check --output-format=github .
build: .venv
python3 -m poetry build
build:
uv build