Makefile 339 B

1234567891011121314151617
  1. .PHONY : docs
  2. docs :
  3. rm -rf docs/build/
  4. sphinx-autobuild -b html --watch olmocr/ docs/source/ docs/build/
  5. .PHONY : run-checks
  6. run-checks :
  7. isort --check .
  8. black --check .
  9. ruff check .
  10. mypy .
  11. CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tests/ olmocr/
  12. .PHONY : build
  13. build :
  14. rm -rf *.egg-info/
  15. python -m build