LLaMA-Factory-Mirror/Makefile

12 lines
161 B
Makefile

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