Spaces:
Runtime error
Runtime error
Download Makefile from tdecae/text_summarization: direct link, hf CLI and curl.
- Browser
- Download file 571 Bytes
-
https://huggingface.co/spaces/tdecae/text_summarization/resolve/main/Makefile
- Command line
-
hf download hf://spaces/tdecae/text_summarization/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/tdecae/text_summarization/resolve/main/Makefile
571 Bytes
| # Makefile | |
| install: | |
| pip install --upgrade pip &&\ | |
| 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 jupyter notebook | |
| #python -m pytest -v tests/test_web.py # if just test web | |
| debug: | |
| python -m pytest -vv --pdb #Debugger is invoked | |
| one-test: | |
| python -m pytest -vv tests/test_greeting.py::test_my_name4 | |
| debugthree: | |
| python -m pytest -vv --pdb --maxfail=4 | |
| format: | |
| black *.py | |
| lint: | |
| pylint --disable=R,C *.py | |
| all: install lint test format |