Spaces:
Build error
Build error
Download src/python-doctr/Makefile from MikeTrizna/doctr_demo_fork: direct link, hf CLI and curl.
- Browser
- Download file 662 Bytes
-
https://huggingface.co/spaces/MikeTrizna/doctr_demo_fork/resolve/main/src/python-doctr/Makefile
- Command line
-
hf download hf://spaces/MikeTrizna/doctr_demo_fork/src/python-doctr/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/MikeTrizna/doctr_demo_fork/resolve/main/src/python-doctr/Makefile
662 Bytes
| .PHONY: quality style test test-common test-tf test-torch docs-single-version docs | |
| # this target runs checks on all files | |
| quality: | |
| ruff check . | |
| mypy doctr/ | |
| # this target runs checks on all files and potentially modifies some of them | |
| style: | |
| ruff format . | |
| ruff check --fix . | |
| # Run tests for the library | |
| test: | |
| coverage run -m pytest tests/common/ -rs | |
| coverage run -m pytest tests/pytorch/ -rs | |
| test-common: | |
| coverage run -m pytest tests/common/ -rs | |
| test-torch: | |
| coverage run -m pytest tests/pytorch/ -rs | |
| # Check that docs can build | |
| docs-single-version: | |
| sphinx-build docs/source docs/_build -a | |
| # Check that docs can build | |
| docs: | |
| cd docs && bash build.sh | |