update requires

Former-commit-id: 77666bd227
This commit is contained in:
hiyouga
2024-10-29 16:10:07 +08:00
parent 6989b8c341
commit 163cf2ba5c
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)