LLaMA-Factory-310P3/Makefile

15 lines
220 B
Makefile
Raw Normal View History

2024-06-08 01:48:30 +08:00
.PHONY: quality style test
2024-01-20 19:58:04 +08:00
2024-03-07 20:26:31 +08:00
check_dirs := scripts src tests
2024-01-20 19:58:04 +08:00
quality:
2024-03-06 14:51:51 +08:00
ruff check $(check_dirs)
2024-02-26 17:25:47 +08:00
ruff format --check $(check_dirs)
2024-01-20 19:58:04 +08:00
style:
2024-03-06 14:51:51 +08:00
ruff check $(check_dirs) --fix
2024-02-26 17:25:47 +08:00
ruff format $(check_dirs)
2024-06-08 01:48:30 +08:00
test:
pytest tests/