|
1 | 1 | - id: check-added-large-files |
2 | 2 | name: check for added large files |
3 | | - description: prevent giant files from being committed |
| 3 | + description: prevent giant files from being committed. |
4 | 4 | entry: check-added-large-files |
5 | 5 | language: python |
6 | 6 | - id: check-ast |
|
11 | 11 | types: [python] |
12 | 12 | - id: check-byte-order-marker |
13 | 13 | name: 'check BOM - deprecated: use fix-byte-order-marker' |
14 | | - description: forbid files which have a utf-8 byte-order marker |
| 14 | + description: forbid files which have a utf-8 byte-order marker. |
15 | 15 | entry: check-byte-order-marker |
16 | 16 | language: python |
17 | 17 | types: [text] |
|
23 | 23 | types: [python] |
24 | 24 | - id: check-case-conflict |
25 | 25 | name: check for case conflicts |
26 | | - description: check for files that would conflict in case-insensitive filesystems |
| 26 | + description: check for files that would conflict in case-insensitive filesystems. |
27 | 27 | entry: check-case-conflict |
28 | 28 | language: python |
29 | 29 | - id: check-docstring-first |
|
108 | 108 | types: [file] |
109 | 109 | - id: detect-aws-credentials |
110 | 110 | name: detect aws credentials |
111 | | - description: detects *your* aws credentials from the aws cli credentials file |
| 111 | + description: detects *your* aws credentials from the aws cli credentials file. |
112 | 112 | entry: detect-aws-credentials |
113 | 113 | language: python |
114 | 114 | types: [text] |
115 | 115 | - id: detect-private-key |
116 | 116 | name: detect private key |
117 | | - description: detects the presence of private keys |
| 117 | + description: detects the presence of private keys. |
118 | 118 | entry: detect-private-key |
119 | 119 | language: python |
120 | 120 | types: [text] |
121 | 121 | - id: double-quote-string-fixer |
122 | 122 | name: fix double quoted strings |
123 | | - description: this hook replaces double quoted strings with single quoted strings |
| 123 | + description: this hook replaces double quoted strings with single quoted strings. |
124 | 124 | entry: double-quote-string-fixer |
125 | 125 | language: python |
126 | 126 | types: [python] |
|
139 | 139 | files: '^$' |
140 | 140 | - id: fix-byte-order-marker |
141 | 141 | name: fix utf-8 byte order marker |
142 | | - description: removes utf-8 byte order marker |
| 142 | + description: removes utf-8 byte order marker. |
143 | 143 | entry: fix-byte-order-marker |
144 | 144 | language: python |
145 | 145 | types: [text] |
146 | 146 | - id: fix-encoding-pragma |
147 | 147 | name: fix python encoding pragma |
148 | | - description: 'add # -*- coding: utf-8 -*- to the top of python files' |
| 148 | + description: 'add # -*- coding: utf-8 -*- to the top of python files.' |
149 | 149 | language: python |
150 | 150 | entry: fix-encoding-pragma |
151 | 151 | types: [python] |
152 | 152 | - id: forbid-new-submodules |
153 | 153 | name: forbid new submodules |
154 | | - description: prevent addition of new git submodules |
| 154 | + description: prevent addition of new git submodules. |
155 | 155 | language: python |
156 | 156 | entry: forbid-new-submodules |
157 | 157 | types: [directory] |
158 | 158 | - id: mixed-line-ending |
159 | 159 | name: mixed line ending |
160 | | - description: replaces or checks mixed line ending |
| 160 | + description: replaces or checks mixed line ending. |
161 | 161 | entry: mixed-line-ending |
162 | 162 | language: python |
163 | 163 | types: [text] |
164 | 164 | - id: name-tests-test |
165 | 165 | name: tests should end in _test.py |
166 | | - description: this verifies that test files are named correctly |
| 166 | + description: this verifies that test files are named correctly. |
167 | 167 | entry: name-tests-test |
168 | 168 | language: python |
169 | 169 | files: (^|/)tests/.+\.py$ |
|
175 | 175 | always_run: true |
176 | 176 | - id: requirements-txt-fixer |
177 | 177 | name: fix requirements.txt |
178 | | - description: sorts entries in requirements.txt |
| 178 | + description: sorts entries in requirements.txt. |
179 | 179 | entry: requirements-txt-fixer |
180 | 180 | language: python |
181 | 181 | files: requirements.*\.txt$ |
|
0 commit comments