.PHONY: install lint setup-git tests benchmarks docs
setup-git:
pip install pre-commit==2.13.0
pre-commit install --install-hooks
install:
pip install -e .[avro,json,msgpack]
pip install -r requirements-test.txt
lint:
mypy . --strict
tests:
pytest -vv
benchmarks:
pytest -vv --benchmark-enable --benchmark-only
docs:
pip install -e .[avro,json,msgpack]
pip install -U -r ./docs-requirements.txt
sphinx-build -W -b html docs/source docs/build