Skip to content

Commit 6c37816

Browse files
committed
Squash
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
1 parent 59970db commit 6c37816

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

Makefile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
1-
.PHONY: default format lint install check
1+
.PHONY: default format lint install check venv
22

33
default: check
44

5-
format:
5+
venv:
6+
uv venv
7+
8+
format: venv
69
uv tool run black .
710
prettier . --write
811

9-
lint:
12+
lint: venv
1013
uv tool run black --check .
1114
uv tool run flake8 src/ --ignore=E203,W503,E722,E731 --max-complexity=100 --max-line-length=160
1215
uv tool run pyflakes src/
1316
uv tool run pyright src/
1417

1518
install:
16-
uv tool run pipx install --force --editable .
19+
run pipx install --force --editable .
1720

18-
check: format lint install
21+
check: venv format lint install
1922
uv run pytest
2023
bash tests/run-lint-tests.sh
2124
bash tests/run-format-tests.sh

0 commit comments

Comments
 (0)