|
|
|
help: |
|
@grep -E '^[.a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' |
|
|
|
clean: |
|
rm -rf dist |
|
find . -type f -name "*.DS_Store" -ls -delete |
|
find . | grep -E "(__pycache__|\.pyc|\.pyo)" | xargs rm -rf |
|
find . | grep -E ".pytest_cache" | xargs rm -rf |
|
find . | grep -E ".ipynb_checkpoints" | xargs rm -rf |
|
rm -f .coverage |
|
|
|
clean-logs: |
|
rm -rf logs/** |
|
|
|
format: |
|
pre-commit run -a |
|
|
|
sync: |
|
git pull |
|
git pull origin main |
|
|
|
test: |
|
pytest -k "not slow" |
|
|
|
test-full: |
|
pytest |
|
|
|
train: |
|
python src/train.py |
|
|