|
3 | 3 | description: prevents giant files from being committed. |
4 | 4 | entry: check-added-large-files |
5 | 5 | language: python |
6 | | - stages: [commit, push, manual] |
| 6 | + stages: [pre-commit, pre-push, manual] |
| 7 | + minimum_pre_commit_version: 3.2.0 |
7 | 8 | - id: check-ast |
8 | 9 | name: check python ast |
9 | 10 | description: simply checks whether the files parse as valid python. |
|
39 | 40 | entry: check-executables-have-shebangs |
40 | 41 | language: python |
41 | 42 | types: [text, executable] |
42 | | - stages: [commit, push, manual] |
| 43 | + stages: [pre-commit, pre-push, manual] |
| 44 | + minimum_pre_commit_version: 3.2.0 |
43 | 45 | - id: check-illegal-windows-names |
44 | 46 | name: check illegal windows names |
45 | 47 | entry: Illegal windows filenames detected |
|
57 | 59 | entry: check-shebang-scripts-are-executable |
58 | 60 | language: python |
59 | 61 | types: [text] |
60 | | - stages: [commit, push, manual] |
| 62 | + stages: [pre-commit, pre-push, manual] |
| 63 | + minimum_pre_commit_version: 3.2.0 |
61 | 64 | - id: pretty-format-json |
62 | 65 | name: pretty format json |
63 | 66 | description: sets a standard for formatting json files. |
|
136 | 139 | entry: end-of-file-fixer |
137 | 140 | language: python |
138 | 141 | types: [text] |
139 | | - stages: [commit, push, manual] |
| 142 | + stages: [pre-commit, pre-push, manual] |
| 143 | + minimum_pre_commit_version: 3.2.0 |
140 | 144 | - id: file-contents-sorter |
141 | 145 | name: file contents sorter |
142 | 146 | description: sorts the lines in specified files (defaults to alphabetical). you must provide list of target files as input in your .pre-commit-config.yaml file. |
|
203 | 207 | entry: trailing-whitespace-fixer |
204 | 208 | language: python |
205 | 209 | types: [text] |
206 | | - stages: [commit, push, manual] |
| 210 | + stages: [pre-commit, pre-push, manual] |
| 211 | + minimum_pre_commit_version: 3.2.0 |
0 commit comments