Contributing Guide
Thank you for considering contributing to the MLOps project! This document provides guidelines and best practices for contributing.
Code Style
We use several tools to maintain code quality:
- Black: For code formatting
- Flake8: For code linting
- Pre-commit hooks: For automated checks before commits
Development Process
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and linting
- Submit a pull request
Commit Messages
We follow the Conventional Commits specification:
feat:
New featuresfix:
Bug fixesdocs:
Documentation changesstyle:
Code style changesrefactor:
Code refactoringtest:
Adding or modifying testschore:
Maintenance tasks
Example:
Pull Request Process
- Update documentation if needed
- Add tests for new features
- Ensure CI passes
- Get review from maintainers
Setting Up Development Environment
-
Install dependencies:
-
Install pre-commit hooks:
-
Run tests:
Documentation
- Update documentation for any new features
- Use docstrings for Python functions
- Keep README.md up to date