LLaMA-Factory/Makefile
hiyouga efd60f0306 update wechat
Former-commit-id: 0f5a0f64f798eccd1fe76a74cf537002135e7e85
2024-08-27 12:55:23 +08:00

15 lines
251 B
Makefile

.PHONY: quality style test
check_dirs := scripts src tests setup.py
quality:
ruff check $(check_dirs)
ruff format --check $(check_dirs)
style:
ruff check $(check_dirs) --fix
ruff format $(check_dirs)
test:
CUDA_VISIBLE_DEVICES= pytest tests/