LLaMA-Factory-Mirror/Makefile

12 lines
187 B
Makefile
Raw Normal View History

2024-01-20 19:58:04 +08:00
.PHONY: quality style
2024-03-06 14:51:51 +08:00
check_dirs := scripts src
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)