Thank you for your interest in contributing to code_explainer! We appreciate your time and effort. This document outlines the guidelines for contributing to this project. By participating, you agree to abide by our Code of Conduct.
There are many ways you can contribute to code_explainer, including:
- Reporting Bugs: If you find a bug, please open an issue on GitHub. Be sure to include:
- A clear and descriptive title.
- Steps to reproduce the bug.
- The expected behavior.
- The actual behavior.
- Your operating system and version.
- The code_explainer version (if applicable).
- Suggesting Enhancements: Have an idea for a new feature or improvement? Open an issue to discuss it with the maintainers. Explain your suggestion in detail and why you think it would be beneficial.
- Submitting Pull Requests: If you've fixed a bug or implemented a new feature, submit a pull request! Please follow these guidelines:
- Create a new branch for your changes:
git checkout -b feature/your-feature-nameorgit checkout -b bugfix/bug-description - Make your changes.
- Ensure your code follows the project's coding style (see below).
- Write clear and concise commit messages. Follow the Conventional Commits specification if possible.
- Test your changes thoroughly.
- Submit your pull request to the
developbranch. - Include a clear description of your changes in the pull request.
- Create a new branch for your changes:
- Improving Documentation: Outdated or unclear documentation? Help us improve it! Submit a pull request with your changes.
- Spreading the Word: Share the project with others! Let people know about code_explainer and its features.
To contribute code, you'll need to set up your development environment. Here's a general guide:
- Fork the Repository: Click the "Fork" button on the GitHub page.
- Clone your Fork:
git clone https://github.com/your-username/code_explainer.git - Create a Virtual Environment (Recommended):
python3 -m venv .venv(or similar, depending on your language) - Activate the Virtual Environment:
. .venv/bin/activate(or similar) - Install Dependencies:
crewai install(or similar)
Please adhere to the project's coding style. We use the Black formatter for Python code. Run black . to format your code before submitting a pull request.
All contributions should be thoroughly tested. Run the project's tests using pytest.
We encourage you to use clear and descriptive commit messages. A good commit message should explain what changed and why. Consider using the Conventional Commits specification.
This project adheres to the Code of Conduct. By participating, you are expected to uphold its principles.
Thank you again for your contribution!