Contributing#
Guidelines for contributing to ops-db-api.
Getting Started#
Fork the repository
Create a feature branch
Make your changes
Write tests
Submit a pull request
Code Style#
Follow PEP 8
Use type hints
Write docstrings
Format with black:
black ccat_ops_db_api/Lint with ruff:
ruff check ccat_ops_db_api/
Testing#
All contributions must include tests:
pytest
pytest --cov=ccat_ops_db_api
Documentation#
Update documentation for:
New endpoints
Configuration changes
API changes
Breaking changes
Pull Request Process#
Ensure tests pass
Update documentation
Add entry to CHANGELOG
Request review
Address feedback
Await approval and merge
Questions#
For questions, open an issue on GitHub or contact the maintainers.