917eedffcf
Main / Python 3.11 - Docs (push) Waiting to run
Main / Python 3.11 - Build (push) Waiting to run
Main / Python 3.11 - Lint (push) Waiting to run
Main / Python 3.11 - Style (push) Waiting to run
Main / Python 3.11 - Test (push) Waiting to run
Main / GPU CI (push) Blocked by required conditions
Main / Release (push) Blocked by required conditions
Main / Build and Push Docker Images (push) Blocked by required conditions
18 lines
339 B
Makefile
18 lines
339 B
Makefile
.PHONY : docs
|
|
docs :
|
|
rm -rf docs/build/
|
|
sphinx-autobuild -b html --watch olmocr/ docs/source/ docs/build/
|
|
|
|
.PHONY : run-checks
|
|
run-checks :
|
|
isort --check .
|
|
black --check .
|
|
ruff check .
|
|
mypy .
|
|
CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tests/ olmocr/
|
|
|
|
.PHONY : build
|
|
build :
|
|
rm -rf *.egg-info/
|
|
python -m build
|