Contributing¶
We welcome contributions to Bayes-HDC.
Development Setup¶
Fork and clone the repository:
git clone https://github.com/yourusername/bayes-hdc.git
cd bayes-hdc
Create a virtual environment and install:
python -m venv venv
source venv/bin/activate
pip install -e ".[dev]"
Code Style¶
We use ruff for linting and formatting:
ruff check bayes_hdc/ tests/
ruff format bayes_hdc/ tests/
Type checking:
mypy bayes_hdc/
Testing¶
pytest tests/ -v
Submitting Changes¶
Create a feature branch
Make changes and add tests
Ensure all tests pass and code is formatted
Submit a pull request