Download Makefile from sophicist/Demo2: direct link, hf CLI and curl.
- Browser
- Download file 454 Bytes
-
https://huggingface.co/spaces/sophicist/Demo2/resolve/main/Makefile
- Command line
-
hf download hf://spaces/sophicist/Demo2/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/sophicist/Demo2/resolve/main/Makefile
454 Bytes
| install: | |
| pip install -r requirements.txt | |
| test: | |
| python -m pytest -vvv --cov=hello --cov=greeting \ | |
| --cov=smath --cov=web tests | |
| python -m pytest -nbval notebook.ipynb # test out jupyter notebook | |
| # python -m pytest -v tests/tests_web.py | |
| debug: | |
| python -m pytest -vv --pdb # debugger is invoked | |
| one-test: | |
| python -m pytest -vv test/test_greeting.py::test_my_name4 | |
| format: | |
| black *.py | |
| lint: | |
| pylint --disable=R,C *.py | |
| all: install lint test format | |