Thanks for contributing to Hypergraphx.
- Fork the repository and clone your fork.
- Create and activate a virtual environment.
- Install the package in editable mode with development dependencies:
python -m pip install --upgrade pip
python -m pip install -e ".[dev,viz]"
pre-commit installRun these before opening a pull request:
black --check .
ruff check .
pytest
python -m build
twine check dist/*If you want to run pre-commit hooks across the repository:
pre-commit run --all-filesBuild docs locally when your change affects docs, APIs, or tutorials:
python -m pip install -e ".[docs]"
make -C docs html- Create a focused branch from
main. - Keep pull requests small and scoped to one change.
- Write clear commit messages in imperative mood (for example:
Add temporal centrality regression test). - Add or update tests for behavioral changes.
- Update docs when user-facing behavior changes.
- Tests added/updated for new behavior.
- Local quality checks pass.
- Docs updated (if relevant).
- PR description explains motivation, approach, and impact.
- Use GitHub Issues for bugs and feature requests.
- Include a minimal reproducible example for bugs.
- For security issues, do not open a public issue. See
SECURITY.md.
By participating in this project, you agree to follow the Code of Conduct in CODE_OF_CONDUCT.md.