Commit a48496e
authored
pre-commit: stop specifying types in hook (#274)
* pre-commit: stop specifying types in hook
This PR updates the pre-commit hook to not force `yaml` files. `yamlfmt`
is designed to accept all files in a working directory and filter
through what files are accepted based on configuration (i.e. it's
perfectly valid for users to configure `yamlfmt` to accept files that
wouldn't match pre-commit's `yaml` type).
* also update hook version cause I'm gonna bump for this1 parent 9b3f475 commit a48496e
2 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments