forked from p15670423/monkey
docs: Add pre-push hooks to manual pre-commit install instructions
This commit is contained in:
parent
6571e0e4fa
commit
4b02e3bc63
|
@ -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`.
|
||||||
|
|
|
@ -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`.
|
||||||
|
|
Loading…
Reference in New Issue