|
1
|
.PHONY: lint format test build install clean |
|
2
|
|
|
3
|
lint: |
|
4
|
uv run ruff check . |
|
5
|
uv run ruff format --check . |
|
6
|
|
|
7
|
format: |
|
8
|
uv run ruff check --fix . |
|
9
|
uv run ruff format . |
|
10
|
|
|
11
|
test: |
|
12
|
uv run pytest |
|
13
|
|
|
14
|
test-fast: |
|
15
|
uv run pytest -x --no-cov |
|
16
|
|
|
17
|
build: |
|
18
|
uv build |
|
19
|
|
|
20
|
install: |
|
21
|
uv sync |
|
22
|
|
|
23
|
clean: |
|
24
|
rm -rf dist/ .pytest_cache/ .coverage htmlcov/ __pycache__ |
|
25
|
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true |
|
26
|
find . -type f -name "*.pyc" -delete |
|
27
|
|