- Python 3.10+
- pre-commit
git clone https://github.com/Pyhive/Pyhiveapi.git
cd Pyhiveapi
make setupOr manually:
pip install -e ".[dev]"
pre-commit installpytest tests/With coverage:
pytest tests/ --covpre-commit run --all-filesIndividual tools:
ruff check src/ # lint
ruff format src/ # format
mypy src/ # type checkThe pyhiveapi (sync) package is auto-generated from the async source in src/:
python setup.py build_pyNever edit files under pyhiveapi/ directly — edit src/ only.
- Branch off
dev(notmaster) - Make your changes and ensure
pre-commit run --all-filespasses - Push and open a PR against
dev - Direct PRs to
masterare blocked
Please read our Code of Conduct before contributing.