Pull request and issue template fixes #254

This commit is contained in:
Bruno Alla 2017-01-17 22:34:04 +00:00
parent 7d5e31e62f
commit 2ee8627c5a
2 changed files with 29 additions and 0 deletions

14
.github/ISSUE_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,14 @@
## Problem
Explain the problem you encountered.
## Environment
- Django Model Utils version:
- Django version:
- Python version:
- Other libraries used, if any:
## Code examples
Give code example that demonstrates the issue, or even better, write new tests that fails because of that issue.

15
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,15 @@
## Problem
Explain the problem you are fixing (add the link to the related issue(s), if any).
## Solution
Explain the solution that has been implemented, and what has been changed.
## Commandments
- [ ] Write PEP8 compliant code.
- [ ] Cover it with tests.
- [ ] Update `CHANGES.rst` file to describe the changes, and quote according issue with `GH-<issue_number>`.
- [ ] Pay attention to backward compatibility, or if it breaks it, explain why.
- [ ] Update documentation (if relevant).