Download Makefile from Spico/Mirror: direct link, hf CLI and curl.
- Browser
- Download file 425 Bytes
-
https://huggingface.co/spaces/Spico/Mirror/resolve/main/Makefile
- Command line
-
hf download hf://spaces/Spico/Mirror/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/Spico/Mirror/resolve/main/Makefile
425 Bytes
| all: format clean test pre | |
| echo 'finished' | |
| .PHONY: format | |
| format: | |
| isort --profile black --filter-files . | |
| black . | |
| .PHONY: test | |
| test: | |
| coverage run --source src -m pytest -vv . | |
| coverage report -m | |
| flake8 | |
| .PHONY: pre | |
| pre: | |
| pre-commit run --all-files | |
| .PHONY: clean | |
| clean: | |
| rm -rf build/ | |
| rm -rf dist/ | |
| rm -rf *.egg-info/ | |
| rm -f .coverage | |
| rm -f coverage.xml | |
| find . | grep -E '(__pycache__|\.pyc|\.pyo$$)' | xargs rm -rf | |