Contributing to CLIFpy¶
We welcome contributions to CLIFpy! This guide will help you get started.
Getting Started¶
- Fork the repository on GitHub
- Clone your fork locally:
- Create a virtual environment:
- Install in development mode with all dependencies:
Development Workflow¶
-
Create a new branch for your feature or fix:
-
Make your changes and ensure:
- Code follows the existing style
- All tests pass
- New features include tests
-
Documentation is updated
-
Run tests:
-
Commit your changes:
-
Push to your fork:
-
Create a Pull Request on GitHub
Code Style¶
- Follow PEP 8 guidelines
- Use meaningful variable and function names
- Add type hints where appropriate
- Include docstrings for all public functions and classes
Documentation¶
- Update docstrings for any API changes
- Add examples to docstrings where helpful
- Update user guide if adding new features
- Build docs locally to verify:
Testing¶
- Write tests for new functionality
- Ensure all tests pass before submitting PR
- Aim for high test coverage
- Use pytest fixtures for common test data
Commit Messages¶
Follow conventional commits format:
- feat:
- New feature
- fix:
- Bug fix
- docs:
- Documentation changes
- test:
- Test additions or changes
- refactor:
- Code refactoring
- chore:
- Maintenance tasks
Questions?¶
- Open an issue for bugs or feature requests
- Join discussions in existing issues
- Reach out to maintainers if you need help
Thank you for contributing to CLIFpy!