File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- .PHONY: help install clean{% if "pytest" in dev_deps %} test{% endif %}{% if "ruff" in dev_deps %} lint format format-check fix {% endif %}
1+ .PHONY: help install clean{% if "pytest" in dev_deps %} test{% endif %}
22
33help: ## Display available commands
44 @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
@@ -24,11 +24,11 @@ test: ## Run all unit tests
2424 printf "ERROR: .venv not found — run 'make install' first\n" >&2 ; \
2525 exit 1; \
2626 fi; \
27- @ uv run pytest tests/unit/
27+ uv run pytest tests/unit/
2828{% endif -%}
2929
3030clean: ## Clean build artifacts
3131 @echo "Cleaning Python artifacts.."
32- @rm -rf build/ dist/ *.egg-info/ .pytest_cache/ htmlcov/ .coverage
32+ @rm -rf build/ dist/ *.egg-info/ .pytest_cache/ .ruff_cache/ htmlcov/ .coverage
3333 @find . -type d -name __pycache__ -exec rm -rf {} +
3434 @find . -type f -name "*.pyc" -delete
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ _exclude:
5252 - " .vscode"
5353 - " .chlog"
5454 - " .pytest_cache"
55+ - " .ruff_cache"
5556 - " .DS_Store"
5657
5758_tasks : []
You can’t perform that action at this time.
0 commit comments