Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 560 Bytes

CONTRIBUTING.md

File metadata and controls

22 lines (16 loc) · 560 Bytes

Contributing

Set up dev environment:

cd ~/your/repository/fork  # Activate venv if you have one (recommended)
pip install -e .[dev]      # Install dev dependencies (e.g. black, mypy, pre-commit)
pre-commit install         # Install git pre-commit hooks

Run unit tests with coverage:

py.test --cov=binarytree --cov-report=html  # Open htmlcov/index.html in your browser

Build and test documentation:

python -m sphinx docs docs/_build  # Open docs/_build/index.html in your browser

Thank you for your contribution!