-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (25 loc) · 741 Bytes
/
Makefile
File metadata and controls
30 lines (25 loc) · 741 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
.PHONY: help install lint format clean
help:
@echo "Available targets:"
@echo " install - Install dependencies with uv"
@echo " test - Run all tests"
@echo " coverage - Run tests with coverage report"
@echo " docs - Run sphinx-build for generating documentation"
@echo " lint - Run linting checks"
@echo " format - Format code with ruff"
@echo " clean - Remove build artifacts"
install:
uv sync --dev
lint: install
uv run ruff check **/*.py
uv run pyright **/*.py
format: install
uv run ruff format **/*.py
uv run ruff check --fix **/*.py
clean:
rm -rf build/
rm -rf dist/
rm -rf *.egg-info/
rm -rf .pytest_cache/
rm -rf .ruff_cache/
find . -type d -name __pycache__ -exec rm -rf {} +