LLaMA-Factory-Mirror/Makefile

12 lines
173 B
Makefile

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