.PHONY: quality style test | |
check_dirs := scripts src tests | |
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/ | |
.PHONY: quality style test | |
check_dirs := scripts src tests | |
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/ | |