youssefedweqd/working
06
1.PHONY: build commit license quality style test2 3check_dirs := scripts src tests setup.py4 5build:6 pip3 install build && python3 -m build7 8commit:9 pre-commit install10 pre-commit run --all-files11 12license:13 python3 tests/check_license.py $(check_dirs)14 15quality:16 ruff check $(check_dirs)17 ruff format --check $(check_dirs)18 19style:20 ruff check $(check_dirs) --fix21 ruff format $(check_dirs)22 23test:24 CUDA_VISIBLE_DEVICES= WANDB_DISABLED=true pytest -vv tests/25 