Skip to content

Commit d7932b6

Browse files
committed
Fix inconsistent descriptions wording
1 parent 8a1d0fc commit d7932b6

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.pre-commit-hooks.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
- id: check-added-large-files
22
name: check for added large files
3-
description: prevent giant files from being committed.
3+
description: prevents giant files from being committed.
44
entry: check-added-large-files
55
language: python
66
- id: check-ast
77
name: check python ast
8-
description: simply check whether the files parse as valid python.
8+
description: simply checks whether the files parse as valid python.
99
entry: check-ast
1010
language: python
1111
types: [python]
1212
- id: check-byte-order-marker
1313
name: 'check BOM - deprecated: use fix-byte-order-marker'
14-
description: forbid files which have a utf-8 byte-order marker.
14+
description: forbids files which have a utf-8 byte-order marker.
1515
entry: check-byte-order-marker
1616
language: python
1717
types: [text]
1818
- id: check-builtin-literals
1919
name: check builtin type constructor use
20-
description: require literal syntax when initializing empty or zero python builtin types.
20+
description: requires literal syntax when initializing empty or zero python builtin types.
2121
entry: check-builtin-literals
2222
language: python
2323
types: [python]
2424
- id: check-case-conflict
2525
name: check for case conflicts
26-
description: check for files that would conflict in case-insensitive filesystems.
26+
description: checks for files that would conflict in case-insensitive filesystems.
2727
entry: check-case-conflict
2828
language: python
2929
- id: check-docstring-first
@@ -41,7 +41,7 @@
4141
stages: [commit, push, manual]
4242
- id: check-json
4343
name: check json
44-
description: this hook checks json files for parseable syntax.
44+
description: checks json files for parseable syntax.
4545
entry: check-json
4646
language: python
4747
types: [json]
@@ -54,13 +54,13 @@
5454
stages: [commit, push, manual]
5555
- id: pretty-format-json
5656
name: pretty format json
57-
description: this hook sets a standard for formatting json files.
57+
description: sets a standard for formatting json files.
5858
entry: pretty-format-json
5959
language: python
6060
types: [json]
6161
- id: check-merge-conflict
6262
name: check for merge conflicts
63-
description: check for files that contain merge conflict strings.
63+
description: checks for files that contain merge conflict strings.
6464
entry: check-merge-conflict
6565
language: python
6666
types: [text]
@@ -72,7 +72,7 @@
7272
types: [symlink]
7373
- id: check-toml
7474
name: check toml
75-
description: this hook checks toml files for parseable syntax.
75+
description: checks toml files for parseable syntax.
7676
entry: check-toml
7777
language: python
7878
types: [toml]
@@ -84,19 +84,19 @@
8484
types: [text]
8585
- id: check-xml
8686
name: check xml
87-
description: this hook checks xml files for parseable syntax.
87+
description: checks xml files for parseable syntax.
8888
entry: check-xml
8989
language: python
9090
types: [xml]
9191
- id: check-yaml
9292
name: check yaml
93-
description: this hook checks yaml files for parseable syntax.
93+
description: checks yaml files for parseable syntax.
9494
entry: check-yaml
9595
language: python
9696
types: [yaml]
9797
- id: debug-statements
9898
name: debug statements (python)
99-
description: check for debugger imports and py37+ `breakpoint()` calls in python source.
99+
description: checks for debugger imports and py37+ `breakpoint()` calls in python source.
100100
entry: debug-statement-hook
101101
language: python
102102
types: [python]
@@ -120,7 +120,7 @@
120120
types: [text]
121121
- id: double-quote-string-fixer
122122
name: fix double quoted strings
123-
description: this hook replaces double quoted strings with single quoted strings.
123+
description: replaces double quoted strings with single quoted strings.
124124
entry: double-quote-string-fixer
125125
language: python
126126
types: [python]
@@ -133,7 +133,7 @@
133133
stages: [commit, push, manual]
134134
- id: file-contents-sorter
135135
name: file contents sorter
136-
description: sort the lines in specified files (defaults to alphabetical). you must provide list of target files as input in your .pre-commit-config.yaml file.
136+
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.
137137
entry: file-contents-sorter
138138
language: python
139139
files: '^$'
@@ -145,13 +145,13 @@
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.'
148+
description: 'adds # -*- coding: utf-8 -*- to the top of python files.'
149149
language: python
150150
entry: fix-encoding-pragma
151151
types: [python]
152152
- id: forbid-new-submodules
153153
name: forbid new submodules
154-
description: prevent addition of new git submodules.
154+
description: prevents addition of new git submodules.
155155
language: python
156156
entry: forbid-new-submodules
157157
types: [directory]
@@ -187,7 +187,7 @@
187187
files: '^$'
188188
- id: trailing-whitespace
189189
name: trim trailing whitespace
190-
description: this hook trims trailing whitespace.
190+
description: trims trailing whitespace.
191191
entry: trailing-whitespace-fixer
192192
language: python
193193
types: [text]

0 commit comments

Comments
 (0)