LLaMA-Factory/Makefile

15 lines
220 B
Makefile
Raw Normal View History

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