-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (27 loc) · 708 Bytes
/
Makefile
File metadata and controls
34 lines (27 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.PHONY: format lint check fix install test clean
# Format code with ruff
format:
ruff format .
# Lint code with ruff
lint:
ruff check .
# Check both formatting and linting
check:
ruff format --check .
ruff check .
# Fix auto-fixable issues
fix:
ruff check --fix .
ruff format .
# Install all dependencies (including dev)
install:
uv sync
# Run tests
test:
pytest -v
# Clean up cache files
clean:
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
find . -type d -name ".ruff_cache" -exec rm -rf {} + 2>/dev/null || true
find . -type d -name "*.egg-info" -exec rm -rf {} + 2>/dev/null || true
find . -type d -name ".pytest_cache" -exec rm -rf {} + 2>/dev/null || true