Thank you for your interest in contributing!
This project follows the Contributor Covenant Code of Conduct.
# Fork and clone
git clone https://github.com/YOUR_USERNAME/project-lighthouse-anonymize.git
cd project-lighthouse-anonymize
# Install development dependencies
pip install -e ".[dev]"
# Run tests
pytest- Create a new branch for your feature/fix
- Make your changes
- Add/update tests (maintain 90% coverage)
- Run tests and linting:
ruff format src/ tests/ && ruff check src/ tests/ && pytest - Update documentation if needed
- Commit with clear messages
- Update README.md if needed
- Update CHANGELOG.md with your changes
- Ensure all tests pass
- Fill out the pull request template completely
- Request review from maintainers
- Maintain 90% test coverage
- Include both unit tests and integration tests
- Use descriptive test names:
test_k_anonymize_with_invalid_k_raises_error - Test Style: Use class-based tests (pytest class style) for consistency
- Group related tests in test classes (e.g.,
TestKAnonymize) - Use
@staticmethodfor test helper methods that don't need instance state - Use
@propertyor class attributes for shared test data when appropriate
- Group related tests in test classes (e.g.,
- Use NumPy-style docstrings
- Update relevant documentation in
docs/ - Include code examples where appropriate
Open an issue or discussion on GitHub.