|
| 1 | +# Contributing |
| 2 | + |
| 3 | +Contributions are welcome, and they are greatly appreciated! Every little bit |
| 4 | +helps, and credit will always be given. |
| 5 | + |
| 6 | +## Types of Contributions |
| 7 | + |
| 8 | +### Report Bugs |
| 9 | + |
| 10 | +If you are reporting a bug, please include: |
| 11 | + |
| 12 | +* Your operating system name and version. |
| 13 | +* Any details about your local setup that might be helpful in troubleshooting. |
| 14 | +* Detailed steps to reproduce the bug. |
| 15 | + |
| 16 | +### Fix Bugs |
| 17 | + |
| 18 | +Look through the GitHub issues for bugs. Anything tagged with "bug" and "help |
| 19 | +wanted" is open to whoever wants to implement it. |
| 20 | + |
| 21 | +### Implement Features |
| 22 | + |
| 23 | +Look through the GitHub issues for features. Anything tagged with "enhancement" |
| 24 | +and "help wanted" is open to whoever wants to implement it. |
| 25 | + |
| 26 | +### Write Documentation |
| 27 | + |
| 28 | +You can never have enough documentation! Please feel free to contribute to any |
| 29 | +part of the documentation, such as the official docs, docstrings, or even |
| 30 | +on the web in blog posts, articles, and such. |
| 31 | + |
| 32 | +### Submit Feedback |
| 33 | + |
| 34 | +If you are proposing a feature: |
| 35 | + |
| 36 | +* Explain in detail how it would work. |
| 37 | +* Keep the scope as narrow as possible, to make it easier to implement. |
| 38 | +* Remember that this is a volunteer-driven project, and that contributions |
| 39 | + are welcome :) |
| 40 | + |
| 41 | +## Get Started! |
| 42 | + |
| 43 | +Ready to contribute? Here's how to set up `emg-decompy` for local development. |
| 44 | + |
| 45 | +1. Download a copy of `emg-decompy` locally. |
| 46 | +2. Install `emg-decompy` using `poetry`: |
| 47 | + |
| 48 | + ```console |
| 49 | + $ poetry install |
| 50 | + ``` |
| 51 | + |
| 52 | +3. Use `git` (or similar) to create a branch for local development and make your changes: |
| 53 | + |
| 54 | + ```console |
| 55 | + $ git checkout -b name-of-your-bugfix-or-feature |
| 56 | + ``` |
| 57 | + |
| 58 | +4. When you're done making changes, check that your changes conform to any code formatting requirements and pass any tests. |
| 59 | + |
| 60 | +5. Commit your changes and open a pull request. |
| 61 | + |
| 62 | +## Pull Request Guidelines |
| 63 | + |
| 64 | +Before you submit a pull request, check that it meets these guidelines: |
| 65 | + |
| 66 | +1. The pull request should include additional tests if appropriate. |
| 67 | +2. If the pull request adds functionality, the docs should be updated. |
| 68 | +3. The pull request should work for all currently supported operating systems and versions of Python. |
| 69 | + |
| 70 | +## Code of Conduct |
| 71 | + |
| 72 | +Please note that the `emg-decompy` project is released with a |
| 73 | +Code of Conduct. By contributing to this project you agree to abide by its terms. |
0 commit comments