Skip to content

Commit 2006a4d

Browse files
committed
Fix inconsistent descriptions positions
1 parent 3191f30 commit 2006a4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pre-commit-hooks.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,15 @@
145145
types: [text]
146146
- id: fix-encoding-pragma
147147
name: fix python encoding pragma
148+
description: 'add # -*- coding: utf-8 -*- to the top of python files'
148149
language: python
149150
entry: fix-encoding-pragma
150-
description: 'add # -*- coding: utf-8 -*- to the top of python files'
151151
types: [python]
152152
- id: forbid-new-submodules
153153
name: forbid new submodules
154+
description: prevent addition of new git submodules
154155
language: python
155156
entry: forbid-new-submodules
156-
description: prevent addition of new git submodules
157157
types: [directory]
158158
- id: mixed-line-ending
159159
name: mixed line ending
@@ -181,9 +181,9 @@
181181
files: requirements.*\.txt$
182182
- id: sort-simple-yaml
183183
name: sort simple yaml files
184+
description: sorts simple yaml files which consist only of top-level keys, preserving comments and blocks.
184185
language: python
185186
entry: sort-simple-yaml
186-
description: sorts simple yaml files which consist only of top-level keys, preserving comments and blocks.
187187
files: '^$'
188188
- id: trailing-whitespace
189189
name: trim trailing whitespace

0 commit comments

Comments
 (0)