Skip to content

Commit 4bc7966

Browse files
committed
Update Makefile commands
1 parent bd741ab commit 4bc7966

File tree

1 file changed

+19
-24
lines changed

1 file changed

+19
-24
lines changed

Makefile

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,44 @@
1-
.PHONY: dev-dependencies update-dependencies test docs fix check typing lint format ci-test ci-coverage poetry-export
1+
.PHONY: dev-dependencies update-dependencies test docs fix check typing lint format ci-test ci-coverage
22

33
#########################
44
###### dev commands #####
55
#########################
66
dev-dependencies:
7-
poetry install --with dev --no-root
7+
uv sync --all-groups --frozen
88

99
update-dependencies:
10-
poetry update --with dev
10+
uv lock --upgrade
11+
uv sync --all-groups --frozen
1112

1213
test:
13-
poetry run pytest -n auto --cov
14+
uv run pytest -n auto --cov
1415

1516
docs:
16-
poetry run mkdocs serve
17+
uv run mkdocs serve
1718

1819
fix:
19-
poetry run ruff check . --fix
20-
poetry run ruff format .
20+
uv run ruff format .
21+
uv run ruff check . --fix
22+
uv run ruff format .
2123

22-
check: poetry-export
23-
tox
24+
check:
25+
uv run tox
2426

25-
typing: poetry-export
26-
tox -e typing
27+
typing:
28+
uv run tox -e typing
2729

28-
lint: poetry-export
29-
tox -e lint
30+
lint:
31+
uv run tox -e lint
3032

31-
format: poetry-export
32-
tox -e format
33-
34-
35-
#########################
36-
#### Helper commands ####
37-
#########################
38-
poetry-export:
39-
poetry export -f requirements.txt --output /tmp/requirements.txt --with dev
33+
format:
34+
uv run tox -e format
4035

4136

4237
#########################
4338
###### CI commands ######
4439
#########################
4540
ci-test:
46-
poetry run pytest
41+
uv run pytest
4742

4843
ci-coverage:
49-
poetry run pytest --cov --cov-report lcov
44+
uv run pytest --cov --cov-report lcov

0 commit comments

Comments
 (0)