add Makefile
This commit is contained in:
parent
a5198148a3
commit
1dfd89c7c3
1 changed files with 16 additions and 0 deletions
16
Makefile
Normal file
16
Makefile
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
.PHONY: reformat lint typecheck test check
|
||||||
|
|
||||||
|
reformat:
|
||||||
|
uv run ruff format src/ tests/
|
||||||
|
|
||||||
|
lint:
|
||||||
|
uv run ruff check src/ tests/ --fix
|
||||||
|
|
||||||
|
typecheck:
|
||||||
|
uv run ty check src/
|
||||||
|
|
||||||
|
test:
|
||||||
|
uv run python -m pytest -v
|
||||||
|
|
||||||
|
check: reformat lint typecheck test
|
||||||
|
@echo "All checks passed!"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue