Download Makefile from sycod/frugal_cviz: direct link, hf CLI and curl.
- Browser
- Download file 660 Bytes
-
https://huggingface.co/sycod/frugal_cviz/resolve/a03ee84b78768d3ea5c3d3678c5ecbdbafeabe2e/Makefile
- Command line
-
hf download hf://sycod/frugal_cviz@a03ee84b78768d3ea5c3d3678c5ecbdbafeabe2e/Makefile
-
curl -L -o Makefile https://huggingface.co/sycod/frugal_cviz/resolve/a03ee84b78768d3ea5c3d3678c5ecbdbafeabe2e/Makefile
660 Bytes
| install: | |
| @pip install --upgrade pip && pip install -r requirements.txt | |
| lint: | |
| pylint --disable=R,C,logging-fstring-interpolation,f-string-without-interpolation --fail-under=7.0 src/*.py *.py *.ipynb | |
| test: | |
| # --cov=my_function test_*.py for details on a function | |
| # test_*.py → python tests files are prefixed as is | |
| # --disable-warnings, if needed | |
| # -vvv for verbose | |
| # -s for disabling capturing | |
| # (allows print statements to be shown in the console even if the test passes) | |
| @python -m pytest -vvv -s | |
| format: | |
| # --force-exclude '<FILE_OR_FOLDER>' if needed (env, imported, models...) | |
| @black src/*.py *.py *.ipynb | |
| all: install lint test format |