LLaMA-Factory/Makefile
hiyouga 6a5e3816cf add ci
Former-commit-id: aa2578bea072354656dbdb62b970e16a8b86f16b
2024-06-08 01:48:30 +08:00

15 lines
220 B
Makefile

.PHONY: quality style test
check_dirs := scripts src tests
quality:
ruff check $(check_dirs)
ruff format --check $(check_dirs)
style:
ruff check $(check_dirs) --fix
ruff format $(check_dirs)
test:
pytest tests/