update requires

This commit is contained in:
hiyouga
2024-10-29 16:10:07 +08:00
parent 8723922923
commit 77666bd227
8 changed files with 50 additions and 16 deletions

View File

@@ -1,7 +1,14 @@
.PHONY: quality style test
.PHONY: build commit quality style test
check_dirs := scripts src tests setup.py
build:
pip install build && python -m build
commit:
pre-commit install
pre-commit run --all-files
quality:
ruff check $(check_dirs)
ruff format --check $(check_dirs)