Thank you for your interest in contributing to PurgeProof! Here's how you can help:
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/purgeproof.git - Create a new branch:
git checkout -b feature/your-feature-name - Set up the development environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -e .[dev] pre-commit install
- Make your changes and ensure tests pass:
pytest - Commit your changes with a descriptive message
- Push to your fork and open a pull request
- Follow PEP 8 style guide
- Use type hints for all new code
- Keep functions small and focused
- Write docstrings for all public functions and classes
- Include tests for new functionality
Run the test suite:
pytestRun with coverage:
pytest --cov=purgeproof tests/- Ensure all tests pass
- Update documentation as needed
- Ensure your code is properly formatted with black and isort
- Open a pull request with a clear description of changes
- Reference any related issues
Please include:
- Steps to reproduce
- Expected behavior
- Actual behavior
- Environment details (OS, Python version, etc.)
- Any relevant error messages
Be respectful and inclusive in all communications.