mirror of
https://github.com/nikdoof/pydantic_spaceapi.git
synced 2025-12-13 14:32:19 +00:00
Switch to uv
This commit is contained in:
18
Makefile
18
Makefile
@@ -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
|
||||
Reference in New Issue
Block a user