diff options
| author | 2019-09-03 19:49:25 -0600 | |
|---|---|---|
| committer | 2019-09-03 19:49:25 -0600 | |
| commit | 5f349b08bed25072d902e3d181840b393fb4b072 (patch) | |
| tree | bd6f5049a59d95f05f91240c82c79d3ae1c2c6cd /CONTRIBUTING.md | |
| parent | Allow special characters in off topic names. (diff) | |
| parent | Remove pydocstyle pinning now that flake8-docstrings is fixed (diff) | |
Merge pull request #240 from python-discord/update-contrib
Update contrib doc for allowing edits from maintainers
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 052bf731..efb48e5a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,6 +9,7 @@ Note that contributions may be rejected on the basis of a contributor failing to  1. **No force-pushes** or modifying the Git history in any way.  2. If you have direct access to the repository, **create a branch for your changes** and create a pull request for that branch. If not, create a branch on a fork of the repository and create a pull request from there.      * It's common practice for a repository to reject direct pushes to `master`, so make branching a habit! +    * If PRing from your own fork, **ensure that "Allow edits from maintainers" is checked**. This gives permission for maintainers to commit changes directly to your fork, speeding up the review process.  3. **Adhere to the prevailing code style**, which we enforce using [flake8](http://flake8.pycqa.org/en/latest/index.html).      * Run `flake8` against your code **before** you push it. Your commit will be rejected by the build server if it fails to lint.      * [Git Hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) are a powerful tool that can be a daunting to set up. Fortunately, [`pre-commit`](https://github.com/pre-commit/pre-commit) abstracts this process away from you and is provided as a dev dependency for this project. Run `pipenv run precommit` when setting up the project and you'll never have to worry about breaking the build for linting errors. @@ -101,6 +102,8 @@ Github [has introduced a new PR feature](https://github.blog/2019-02-14-introduc  This feature should be utilized in place of the traditional method of prepending `[WIP]` to the PR title. +As stated earlier, **ensure that "Allow edits from maintainers" is checked**. This gives permission for maintainers to commit changes directly to your fork, speeding up the review process. +  ## Footnotes  This document was inspired by the [Glowstone contribution guidelines](https://github.com/GlowstoneMC/Glowstone/blob/dev/docs/CONTRIBUTING.md).
\ No newline at end of file  |