Contribution Guidelines
We welcome contributions to our project! To maintain a high standard of quality, we have a set of guidelines and processes for making contributions. Please follow these guidelines to ensure your contributions can be easily reviewed and accepted.
Table of Contents
Getting Started
To get started with contributing to our project, you should have the following:
A GitHub account.
Git installed on your local machine.
A text editor or IDE of your choice (we recommend VSCode or PyCharm).
How to Contribute
Fork the Repository
Go to the repository on GitHub.
Click on the
Forkbutton at the top right of the page.This will create a copy of the repository in your GitHub account.
Create a Branch
Clone the forked repository to your local machine:
sh git clone https://github.com/YOUR_USERNAME/REPOSITORY_NAME.gitNavigate to the repository directory:
sh cd REPOSITORY_NAMECreate a new branch for your changes:
sh git checkout -b feature/your-feature-name
Make Changes
Make the necessary changes in your local repository.
Ensure that your code adheres to the Coding Standards.
Commit Changes
Stage your changes:
sh git add .Commit your changes with a descriptive message:
sh git commit -S -m "Add feature: Description of your feature"Note: All commits must be signed. You can configure commit signing by following these instructions.
Push to GitHub
Push your branch to GitHub:
sh git push origin feature/your-feature-name
Submit a Pull Request
Go to the original repository on GitHub.
Click on the
Pull Requeststab.Click on the
New Pull Requestbutton.Select your branch from the dropdown menu.
Submit the pull request with a clear and descriptive title and description.
Coding Standards
To ensure consistency and maintainability, please follow these coding standards:
PEP 8: Follow the PEP 8 style guide for Python code.
Docstrings: Use clear and descriptive docstrings for all functions and classes.
Type Annotations: Use type annotations to specify the expected data types of function arguments and return values.
Testing: Write unit tests for your code and ensure all tests pass before submitting a pull request.
Review Process
Once you submit a pull request, it will be reviewed by one of the maintainers.
Maintain a positive attitude and be open to feedback. Review comments may request changes to your code.
Make the necessary changes and update the pull request. Ensure all commits are signed.
Once the pull request is approved, it will be merged into the main branch.
Code of Conduct
We are committed to fostering a welcoming and inclusive community. By participating in this project, you agree to abide by our standards of professional engagement adopted from the IEEE Code of Conduct.
Thank you for your contributions! We appreciate your efforts to improve our project.