Here's a sample Contributing Guidelines section for your package's README:
Thank you for considering contributing to the CARTE project! We welcome contributions that help improve the functionality, reliability, and documentation of CARTE. Please follow these guidelines to make your contributions seamless and productive.
If you find a bug, have a feature request, or want to suggest improvements, please open an issue. When reporting issues, please include:
- A descriptive title
- Detailed steps to reproduce the issue
- The expected outcome versus the actual outcome
- Any relevant code snippets, logs, or screenshots
We appreciate any form of code contribution, whether it be bug fixes, new features, or enhancements. Follow these steps to contribute code:
Fork the CARTE repository to your GitHub account and clone it locally:
git clone https://github.com/your-username/carte.git
cd carte
Create a new branch specific to your contribution:
git checkout -b feature/your-feature-name
Make your code changes. Be sure to:
- Follow the existing code style.
- Include comprehensive comments and documentation for new code.
- Write or update relevant tests.
Ensure all existing and new tests pass:
# Run unit tests
pytest
# Run any additional test suites
# Add other relevant test commands as needed
Commit your changes with a descriptive message:
git add .
git commit -m "Add/Update [feature/fix]: [description of changes]"
Push your branch to your forked repository:
git push origin feature/your-feature-name
Create a pull request (PR) to the main
branch of the CARTE repository. Be sure to:
- Describe the purpose of the PR and reference any related issues.
- Highlight any important points that reviewers should know.
- Follow PEP 8 for Python code.
- Use descriptive variable and function names.
- Maintain consistent indentation and formatting throughout the code.
- Ensure docstrings and comments are clear and informative.
We value well-documented code and user-friendly documentation. To contribute to documentation:
- Update or add relevant sections in the Markdown files under the
docs/
folder. - Ensure your documentation is clear, concise, and consistent with the project's style.
- Join discussions in the issue tracker or PR comments.
- Be respectful and constructive in all communications.
By contributing, you agree that your contributions will be licensed under the MIT License.