You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: checks json files for parseable syntax.
@@ -175,13 +203,13 @@ repos:
175
203
entry: check-shebang-scripts-are-executable
176
204
language: python
177
205
types: [text]
178
-
stages: [commit, push, manual]
179
-
#- id: pretty-format-json
180
-
# name: pretty format json
181
-
# description: sets a standard for formatting json files.
182
-
# entry: pretty-format-json
183
-
# language: python
184
-
# types: [json]
206
+
stages: [pre-commit, pre-push, manual]
207
+
- id: pretty-format-json
208
+
name: pretty format json
209
+
description: sets a standard for formatting json files.
210
+
entry: pretty-format-json
211
+
language: python
212
+
types: [json]
185
213
- id: check-merge-conflict
186
214
name: check for merge conflicts
187
215
description: checks for files that contain merge conflict strings.
@@ -254,7 +282,7 @@ repos:
254
282
entry: end-of-file-fixer
255
283
language: python
256
284
types: [text]
257
-
stages: [commit, push, manual]
285
+
stages: [pre-commit, pre-push, manual]
258
286
- id: file-contents-sorter
259
287
name: file contents sorter
260
288
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.
@@ -267,12 +295,6 @@ repos:
267
295
entry: fix-byte-order-marker
268
296
language: python
269
297
types: [text]
270
-
- id: fix-encoding-pragma
271
-
name: fix python encoding pragma
272
-
description: "adds # -*- coding: utf-8 -*- to the top of python files."
273
-
language: python
274
-
entry: fix-encoding-pragma
275
-
types: [python]
276
298
- id: forbid-new-submodules
277
299
name: forbid new submodules
278
300
description: prevents addition of new git submodules.
0 commit comments