diff options
author | 2019-02-06 06:12:57 +1000 | |
---|---|---|
committer | 2019-02-06 06:12:57 +1000 | |
commit | 4dec74202b145c7d6dabe077c615ac7f62e19d99 (patch) | |
tree | 807f1e10c21a45d78eacb0d5933e77b9b08ed60c | |
parent | Change Lovefest role ID (diff) |
Add precommit install instruction.
-rwxr-xr-x | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -184,6 +184,16 @@ Once you finish a push request, you can delete your branch, and pull the changes Note: You should never commit directly to the original repository's `master` branch. All additions to the `master` branch of the original repository **must** be put through a PR first. +#### Precommit Hook + +Projects need to pass linting checks to be able to successfully build and pass as in push requests. +Read [CONTRIBUTING.md](https://github.com/python-discord/seasonalbot/blob/master/CONTRIBUTING.md) for more details. + +To install the precommit hook, which checks your code before commits are submitted, do the following: +```bash +pipenv run precommit +``` + #### In PyCharm The PyCharm interface has a set of Git actions on the top right section of your workspace: |