|
| 1 | +# Contribution Guidelines |
| 2 | + |
| 3 | +𝐓𝐡𝐚𝐧𝐤 𝐲𝐨𝐮 𝐟𝐨𝐫 𝐲𝐨𝐮𝐫 𝐜𝐨𝐧𝐭𝐫𝐢𝐛𝐮𝐭𝐢𝐨𝐧 𝐭𝐨 𝐭𝐡𝐞 𝐩𝐫𝐨𝐣𝐞𝐜𝐭! |
| 4 | +𝐖𝐞 𝐰𝐚𝐫𝐦𝐥𝐲 𝐰𝐞𝐥𝐜𝐨𝐦𝐞 𝐲𝐨𝐮 𝐭𝐨 𝐚𝐬𝐤 𝐪𝐮𝐞𝐬𝐭𝐢𝐨𝐧𝐬, 𝐫𝐞𝐩𝐨𝐫𝐭 𝐞𝐫𝐫𝐨𝐫𝐬 𝐨𝐫 𝐬𝐮𝐛𝐦𝐢𝐭 𝐜𝐨𝐝𝐞. |
| 5 | +𝐏𝐥𝐞𝐚𝐬𝐞 𝐟𝐨𝐥𝐥𝐨𝐰 𝐭𝐡𝐞 𝐟𝐨𝐥𝐥𝐨𝐰𝐢𝐧𝐠 𝐬𝐭𝐞𝐩𝐬 𝐭𝐨 𝐨𝐩𝐞𝐫𝐚𝐭𝐞. |
| 6 | + |
| 7 | +## 💬 Issues |
| 8 | + |
| 9 | +1. If you **find a bug** or **have a feature request**, submit a detailed description following provided issue template in the `issue` page. |
| 10 | + |
| 11 | +2. 𝐓𝐡𝐞 𝐨𝐯𝐞𝐫𝐚𝐥𝐥 𝐩𝐫𝐨𝐜𝐞𝐬𝐬 𝐢𝐧𝐜𝐥𝐮𝐝𝐞𝐬: |
| 12 | + - Check if same issue exists. |
| 13 | + - Describe what you encountered and expected. |
| 14 | + - Steps to reproduce the problem. |
| 15 | + - The environment where the problem occurs (operating system, package version, etc.) |
| 16 | + - Other information, such as screenshots, logs, etc. |
| 17 | + |
| 18 | +> [!IMPORTANT] |
| 19 | +> Please ensure to provide sufficient information, |
| 20 | +> so that we can reproduce the problem or understand the functional requirements. |
| 21 | +
|
| 22 | +## 📤 Pull Request |
| 23 | + |
| 24 | +1. 𝐌𝐚𝐢𝐧 𝐬𝐭𝐞𝐩𝐬 |
| 25 | + - Fork the repository to your own GitHub account. |
| 26 | + - Clone the forked repository to your local machine. |
| 27 | + - **Create a new branch for your contribution.** |
| 28 | + - Make your changes and commit them to your new branch. |
| 29 | + - Push your changes to your forked repository. |
| 30 | + - Create a `Pull Request(PR)` from your forked repository to the original repository. |
| 31 | + - Wait for the PR to be reviewed and merged. |
| 32 | + |
| 33 | +2. 𝐏𝐨𝐢𝐧𝐭𝐬 𝐭𝐨 𝐧𝐨𝐭𝐞 |
| 34 | + |
| 35 | + - **Branching management**: Before making code contributions, create a new branch from the `master` branch and give it a descriptive name. |
| 36 | + |
| 37 | + - **Code style**: |
| 38 | + - Follow the [PEP 8](https://www.python.org/dev/peps/pep-0008/) code specification.。 |
| 39 | + - Ensure that the code has good readability and maintainability. |
| 40 | + - Add comments for complex logic and non-obvious code. |
| 41 | + |
| 42 | + - **Code test**: |
| 43 | + - Please add appropriate tests to your code. |
| 44 | + - Ensure that the test covers your new function or fixed bug. |
| 45 | + - Before submitting code, run all tests and ensure they pass. |
| 46 | + |
| 47 | + - **Submit a `Pull Request(PR)`**: |
| 48 | + > Please clearly explain the following content according to the provided PR template |
| 49 | + - Your contribution content, including the problems solved or functions added. |
| 50 | + - If you have fixed the issue, please reference it. |
| 51 | + - Test methods, steps and results |
| 52 | + - Other information, such as screenshots, logs, etc. |
| 53 | + |
| 54 | +## 🧐 Code review |
| 55 | + |
| 56 | + - **All PRs will go through code review**. Other developers may offer suggestions and feedback to improve the quality of the code. |
| 57 | + - **Please actively participate in the code review process**, reply to the reviewer's questions and suggestions, and make modifications as needed. |
| 58 | + |
| 59 | +## 📜 Code of conduct |
| 60 | + |
| 61 | +- Please abide by [GitHub's code of conduct](https://docs.github.com/en/site-policy/github-terms/github-community-guidelines) and the **terms of this project's open source license**. |
| 62 | +- **Maintain respect and courtesy in communication**. Avoid offensive language and personal attacks. |
| 63 | +- Different viewpoints and opinions are welcome, but please discuss **in a constructive way**. |
| 64 | + |
| 65 | +## 🤝 Acknowledgement |
| 66 | + |
| 67 | +𝓦𝓮 𝓪𝓻𝓮 𝓮𝔁𝓽𝓻𝓮𝓶𝓮𝓵𝔂 𝓰𝓻𝓪𝓽𝓮𝓯𝓾𝓵 𝓽𝓸 𝓪𝓵𝓵 𝓬𝓸𝓷𝓽𝓻𝓲𝓫𝓾𝓽𝓸𝓻𝓼 **!** |
| 68 | + |
| 69 | +Your efforts and contributions have made this project better. If your contribution is accepted, **you will be included in the list of contributors to the project.** |
0 commit comments