Skip to content

Commit 816458c

Browse files
committed
add uv add ... --dev to makefile. dependencies are going to be installed if not there by default
1 parent 5037de2 commit 816458c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ help:
1919
qa: analyze test
2020

2121
analyze:
22+
@uv add ruff --dev
2223
@echo "Running code analysis..."
2324
@uv run ruff check $(PYTHON_DIRS)
2425

2526
format:
27+
@uv add ruff --dev
2628
@echo "Formatting code..."
2729
@uv run ruff format $(PYTHON_DIRS)
2830

@@ -31,10 +33,13 @@ lock:
3133
@uv run uv lock
3234

3335
test:
36+
@uv add pytest --dev
3437
@echo "Running tests..."
3538
@uv run pytest --maxfail=1
3639

3740
coverage:
41+
@uv add pytest --dev
42+
@uv add pytest-cov --dev
3843
@echo "Checking test coverage..."
3944
@uv run pytest --cov=$(PACKAGE) --cov-report=term-missing $(TEST_DIR)
4045

0 commit comments

Comments
 (0)