|
| 1 | +# Contributing to pydantic_redis |
| 2 | + |
| 3 | +We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's: |
| 4 | + |
| 5 | +- Reporting a bug |
| 6 | +- Discussing the current state of the code |
| 7 | +- Submitting a fix |
| 8 | +- Proposing new features |
| 9 | +- Becoming a maintainer |
| 10 | + |
| 11 | +## We Develop with Github |
| 12 | + |
| 13 | +We use github to host code, to track issues and feature requests, as well as accept pull requests. |
| 14 | + |
| 15 | +## We Use [Github Flow](https://docs.github.com/en/get-started/quickstart/github-flow), So All Code Changes Happen Through Pull Requests |
| 16 | + |
| 17 | +Pull requests are the best way to propose changes to the codebase (we |
| 18 | +use [Github Flow](https://docs.github.com/en/get-started/quickstart/github-flow)). We actively welcome your pull |
| 19 | +requests: |
| 20 | + |
| 21 | +1. Fork the repo and create your branch from `master`. |
| 22 | +2. If you've added code that should be tested, add tests. |
| 23 | +3. If you've changed APIs, update the documentation. |
| 24 | +4. Ensure the test suite passes. |
| 25 | +5. Make sure your code lints. |
| 26 | +6. Issue that pull request! |
| 27 | + |
| 28 | +## Any contributions you make will be under the MIT Software Licenses |
| 29 | + |
| 30 | +In short, when you submit code changes, your submissions are understood to be under the |
| 31 | +same [MIT License](./LICENSE) that covers the project. Feel free to contact the maintainers if that's a concern. |
| 32 | + |
| 33 | +## Report bugs using Github's [issues](https://github.com/sopherapps/pydantic_redis/issues) |
| 34 | + |
| 35 | +We use GitHub issues to track public bugs. Report a bug |
| 36 | +by [opening a new issue](https://github.com/sopherapps/pydantic_redis/issues); it's that easy! |
| 37 | + |
| 38 | +## Write bug reports with detail, background, and sample code |
| 39 | + |
| 40 | +[This is an example](http://stackoverflow.com/q/12488905/180626). |
| 41 | +Here's [another example from Craig Hockenberry](http://www.openradar.me/11905408). |
| 42 | + |
| 43 | +**Great Bug Reports** tend to have: |
| 44 | + |
| 45 | +- A quick summary and/or background |
| 46 | +- Steps to reproduce |
| 47 | + - Be specific! |
| 48 | + - Give sample code if you can. |
| 49 | +- What you expected would happen |
| 50 | +- What actually happens |
| 51 | +- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work) |
| 52 | + |
| 53 | +People *love* thorough bug reports. I'm not even kidding. |
| 54 | + |
| 55 | +## Use a Consistent Coding Style |
| 56 | + |
| 57 | +* Use [black](https://pypi.org/project/black/) |
| 58 | + |
| 59 | +## License |
| 60 | + |
| 61 | +By contributing, you agree that your contributions will be licensed under its MIT License. |
| 62 | + |
| 63 | +## References |
| 64 | + |
| 65 | +This document was adapted from [a gist by Brian A. Danielak](https://gist.github.com/briandk/3d2e8b3ec8daf5a27a62) which |
| 66 | +was originally adapted from |
| 67 | +the open-source contribution guidelines |
| 68 | +for [Facebook's Draft](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md) |
0 commit comments