|
| 1 | +# How to Contribute |
| 2 | + |
| 3 | +We'd love to accept your patches and contributions to this project. |
| 4 | +There are just a few small guidelines you need to follow. |
| 5 | + |
| 6 | +## Discussion |
| 7 | + |
| 8 | +Share your proposal via [GitHub Issues](https://github.com/fastmachinelearning/qonnx/issues). |
| 9 | +We also welcome submissions to improve the documentation. |
| 10 | + |
| 11 | +## Pull Request |
| 12 | + |
| 13 | +All submissions, including submissions by project members, require review. |
| 14 | +We use GitHub pull requests for this purpose. |
| 15 | +Consult [GitHub Help](https://help.github.com/articles/about-pull-requests/) for more information on using pull requests. |
| 16 | + |
| 17 | +1. In the pull request description, clearly document all changes made and the expected behavior. |
| 18 | +1. If you are introducing new functionality, add at least one unit test under the `tests` folder and make sure it passes before you submit the pull request. |
| 19 | +1. Similarly, if you are fixing a bug, add at least one unit test under the `tests` folder such that the master branch fails the test and your branch passes the test. |
| 20 | +1. Install and run `pre-commit` on the files that you have edited. |
| 21 | +1. Submit the pull request to the [main](https://github.com/fastmachinelearning/qonnx) branch. |
| 22 | + |
| 23 | +## Code Reviews |
| 24 | + |
| 25 | +We will review your contribution and, if any additional fixes or modifications are necessary, may provide feedback to guide you. |
| 26 | +When accepted, your pull request will be merged to the repository. |
| 27 | + |
| 28 | +## Code of Conduct |
| 29 | + |
| 30 | +In the interest of fostering an open and welcoming environment, we as |
| 31 | +contributors and maintainers pledge to make participation in our project and |
| 32 | +our community a harassment-free experience for everyone, regardless of age, body |
| 33 | +size, disability, ethnicity, sex characteristics, gender identity and expression, |
| 34 | +level of experience, education, socio-economic status, nationality, personal |
| 35 | +appearance, race, religion, or sexual identity and orientation. |
| 36 | + |
| 37 | +### Our Standards |
| 38 | + |
| 39 | +Examples of behavior that contributes to creating a positive environment |
| 40 | +include: |
| 41 | + |
| 42 | +* Using welcoming and inclusive language |
| 43 | +* Being respectful of differing viewpoints and experiences |
| 44 | +* Gracefully accepting constructive criticism |
| 45 | +* Focusing on what is best for the community |
| 46 | +* Showing empathy towards other community members |
| 47 | + |
| 48 | +### Attribution |
| 49 | + |
| 50 | +This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 1.4, |
| 51 | +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html |
| 52 | + |
| 53 | +For answers to common questions about this code of conduct, see |
| 54 | +https://www.contributor-covenant.org/faq |
0 commit comments