docs: Add pre-push hooks to manual pre-commit install instructions

This commit is contained in:
Mike Salvatore 2021-04-20 12:13:00 -04:00
parent 6571e0e4fa
commit 4b02e3bc63
2 changed files with 2 additions and 2 deletions

View File

@ -81,4 +81,4 @@ been run or all issues have not been resolved.
To install and configure pre-commit manually, run `pip install --user To install and configure pre-commit manually, run `pip install --user
pre-commit`. Next, go to the top level directory of this repository and run pre-commit`. Next, go to the top level directory of this repository and run
`pre-commit install` Now, pre-commit will automatically run whenever you `git commit`. `pre-commit install -t pre-commit -t pre-push` Now, pre-commit will automatically run whenever you `git commit`.

View File

@ -30,4 +30,4 @@ Pre-commit is a multi-language package manager for pre-commit hooks. It will run
Our CI system runs the same checks when pull requests are submitted. This system may report that the build has failed if the pre-commit hooks have not been run or all issues have not been resolved. Our CI system runs the same checks when pull requests are submitted. This system may report that the build has failed if the pre-commit hooks have not been run or all issues have not been resolved.
To install and configure pre-commit, run `pip install --user pre-commit`. Next, go to the top level directory of this repository and run `pre-commit install`. Pre-commit will now run automatically whenever you `git commit`. To install and configure pre-commit, run `pip install --user pre-commit`. Next, go to the top level directory of this repository and run `pre-commit install -t pre-commit -t pre-push`. Pre-commit will now run automatically whenever you `git commit`.