Download Makefile from scfive/socr: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/spaces/scfive/socr/resolve/main/Makefile
- Command line
-
hf download hf://spaces/scfive/socr/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/scfive/socr/resolve/main/Makefile
1.13 kB
| BIN = .venv/bin/ | |
| CODE = socceraction | |
| init: | |
| python3 -m venv .venv | |
| poetry install | |
| tests/datasets/statsbomb/: | |
| $(BIN)python tests/datasets/download.py --download-statsbomb --convert-statsbomb | |
| tests/datasets/wyscout_public/: | |
| $(BIN)python tests/datasets/download.py --download-wyscout --convert-wyscout | |
| tests/datasets/spadl/: | |
| $(BIN)python tests/datasets/download.py --spadl | |
| test: tests/datasets/statsbomb/ tests/datasets/wyscout_public/ tests/datasets/spadl/ | |
| nox -rs tests -- $(args) | |
| mypy: | |
| nox -rs mypy -- $(args) | |
| lint: | |
| nox -rs lint -- $(args) | |
| pretty: | |
| nox -rs pre-commit -- $(args) | |
| notebooks: | |
| $(BIN)python -m nbconvert --execute --inplace --config=default.json public-notebooks/*.ipynb | |
| precommit_install: | |
| nox -rs pre-commit -- install | |
| bump_major: | |
| $(BIN)bumpversion major | |
| bump_minor: | |
| $(BIN)bumpversion minor | |
| bump_patch: | |
| $(BIN)bumpversion patch | |
| clean: | |
| find . -type f -name "*.py[co]" -delete | |
| find . -type d -name "__pycache__" -delete | |
| rm -rf tests/datasets/wyscout_public | |
| rm -rf tests/datasets/statsbomb | |