| 1 |
<!-- |
| 2 |
|
| 3 |
Thanks for opening a PR! Seriously, it's awesome, thank you! |
| 4 |
|
| 5 |
To make sure this is as easy as possible, please make sure: |
| 6 |
|
| 7 |
* There are no breaking changes |
| 8 |
* Your change has tests |
| 9 |
* Existing tests pass |
| 10 |
* You've run the static analysis lints! |
| 11 |
|
| 12 |
The lints run as part of the CI process so they need to pass before the PR can |
| 13 |
be merged. If you want to run them locally too see below. |
| 14 |
|
| 15 |
Please delete this template and write your PR message :) |
| 16 |
|
| 17 |
Thanks again! |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
--- |
| 23 |
|
| 24 |
If you want to run the lints locally, they are executed as pre-commit hooks and |
| 25 |
are managed with https://pre-commit.com |
| 26 |
|
| 27 |
Once pre-commit is installed, add the hooks to this repo: |
| 28 |
|
| 29 |
```bash |
| 30 |
dom:mailyak% pre-commit install -t pre-commit |
| 31 |
dom:mailyak% pre-commit install -t pre-push |
| 32 |
dom:mailyak% pre-commit install -t post-checkout |
| 33 |
``` |
| 34 |
|
| 35 |
They will then check any commits you make from now on :) |
| 36 |
|
| 37 |
If you want to quickly run them without committing something, just run |
| 38 |
`pre-commit run --all` |
| 39 |
|
| 40 |
--> |