Contributing¶
Contributions to Health Check Monitor are welcome! This guide explains how to contribute effectively.
Getting Started¶
- Fork the repository on GitHub
- Clone your fork locally
- Set up the development environment:
git clone https://github.com/yourusername/healthchecker-py.git
cd healthchecker-py
make virtualenv
Development Workflow¶
- Create a branch for your changes:
git checkout -b feature/your-feature-name
- Make your changes and add tests
- Ensure all tests pass:
make test
- Update documentation if needed
- Commit your changes with a clear message
- Push your branch and create a pull request
Coding Standards¶
- Follow PEP 8 style guidelines
- Include docstrings for all functions, classes, and modules
- Write comprehensive tests for new functionality
- Maintain backward compatibility when possible
Testing¶
All new functionality should include tests:
# Run specific tests
pytest tests/test_file.py
Documentation¶
Update documentation for any changes:
- Add docstrings to code
- Update relevant parts of the documentation
- Create examples for new features
Pull Request Process¶
- Update the README.md or documentation with details of changes
- Update the version number in appropriate files
- The PR will be merged once it has been reviewed and approved
Code of Conduct¶
- Be respectful and inclusive
- Focus on the technical merits of contributions
- Help others and provide constructive feedback
- Respect the time and effort of maintainers
Thank you for contributing to Health Check Monitor!