mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-10 05:14:18 +00:00
Fix inconsistent descriptions positions
This commit is contained in:
parent
3191f30600
commit
2006a4d81b
1 changed files with 3 additions and 3 deletions
|
|
@ -145,15 +145,15 @@
|
||||||
types: [text]
|
types: [text]
|
||||||
- id: fix-encoding-pragma
|
- id: fix-encoding-pragma
|
||||||
name: fix python encoding pragma
|
name: fix python encoding pragma
|
||||||
|
description: 'add # -*- coding: utf-8 -*- to the top of python files'
|
||||||
language: python
|
language: python
|
||||||
entry: fix-encoding-pragma
|
entry: fix-encoding-pragma
|
||||||
description: 'add # -*- coding: utf-8 -*- to the top of python files'
|
|
||||||
types: [python]
|
types: [python]
|
||||||
- id: forbid-new-submodules
|
- id: forbid-new-submodules
|
||||||
name: forbid new submodules
|
name: forbid new submodules
|
||||||
|
description: prevent addition of new git submodules
|
||||||
language: python
|
language: python
|
||||||
entry: forbid-new-submodules
|
entry: forbid-new-submodules
|
||||||
description: prevent addition of new git submodules
|
|
||||||
types: [directory]
|
types: [directory]
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
name: mixed line ending
|
name: mixed line ending
|
||||||
|
|
@ -181,9 +181,9 @@
|
||||||
files: requirements.*\.txt$
|
files: requirements.*\.txt$
|
||||||
- id: sort-simple-yaml
|
- id: sort-simple-yaml
|
||||||
name: sort simple yaml files
|
name: sort simple yaml files
|
||||||
|
description: sorts simple yaml files which consist only of top-level keys, preserving comments and blocks.
|
||||||
language: python
|
language: python
|
||||||
entry: sort-simple-yaml
|
entry: sort-simple-yaml
|
||||||
description: sorts simple yaml files which consist only of top-level keys, preserving comments and blocks.
|
|
||||||
files: '^$'
|
files: '^$'
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
name: trim trailing whitespace
|
name: trim trailing whitespace
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue