1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
SHELL=/bin/bash
lint:
ruff $$(dirname */__init__.py)
mypy --install-types --non-interactive --check-untyped-defs $$(dirname */__init__.py)
test:
python ./test/test.py -v
init_docs:
cd docs; sphinx-quickstart
docs:
python -m pip install furo sphinx-copybutton
sphinx-build docs docs/html
install:
-rm -rf dist
python -m pip install build
python -m build
python -m pip install --upgrade $$(echo dist/*.whl)[tests]
.PHONY: test lint release docs
include common.mk
|