mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 20:44:18 +00:00
Fix inconsistent descriptions punctuations
This commit is contained in:
parent
2006a4d81b
commit
8a1d0fcbaa
1 changed files with 12 additions and 12 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
name: check for added large files
|
name: check for added large files
|
||||||
description: prevent giant files from being committed
|
description: prevent giant files from being committed.
|
||||||
entry: check-added-large-files
|
entry: check-added-large-files
|
||||||
language: python
|
language: python
|
||||||
- id: check-ast
|
- id: check-ast
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
types: [python]
|
types: [python]
|
||||||
- id: check-byte-order-marker
|
- id: check-byte-order-marker
|
||||||
name: 'check BOM - deprecated: use fix-byte-order-marker'
|
name: 'check BOM - deprecated: use fix-byte-order-marker'
|
||||||
description: forbid files which have a utf-8 byte-order marker
|
description: forbid files which have a utf-8 byte-order marker.
|
||||||
entry: check-byte-order-marker
|
entry: check-byte-order-marker
|
||||||
language: python
|
language: python
|
||||||
types: [text]
|
types: [text]
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
types: [python]
|
types: [python]
|
||||||
- id: check-case-conflict
|
- id: check-case-conflict
|
||||||
name: check for case conflicts
|
name: check for case conflicts
|
||||||
description: check for files that would conflict in case-insensitive filesystems
|
description: check for files that would conflict in case-insensitive filesystems.
|
||||||
entry: check-case-conflict
|
entry: check-case-conflict
|
||||||
language: python
|
language: python
|
||||||
- id: check-docstring-first
|
- id: check-docstring-first
|
||||||
|
|
@ -108,19 +108,19 @@
|
||||||
types: [file]
|
types: [file]
|
||||||
- id: detect-aws-credentials
|
- id: detect-aws-credentials
|
||||||
name: detect aws credentials
|
name: detect aws credentials
|
||||||
description: detects *your* aws credentials from the aws cli credentials file
|
description: detects *your* aws credentials from the aws cli credentials file.
|
||||||
entry: detect-aws-credentials
|
entry: detect-aws-credentials
|
||||||
language: python
|
language: python
|
||||||
types: [text]
|
types: [text]
|
||||||
- id: detect-private-key
|
- id: detect-private-key
|
||||||
name: detect private key
|
name: detect private key
|
||||||
description: detects the presence of private keys
|
description: detects the presence of private keys.
|
||||||
entry: detect-private-key
|
entry: detect-private-key
|
||||||
language: python
|
language: python
|
||||||
types: [text]
|
types: [text]
|
||||||
- id: double-quote-string-fixer
|
- id: double-quote-string-fixer
|
||||||
name: fix double quoted strings
|
name: fix double quoted strings
|
||||||
description: this hook replaces double quoted strings with single quoted strings
|
description: this hook replaces double quoted strings with single quoted strings.
|
||||||
entry: double-quote-string-fixer
|
entry: double-quote-string-fixer
|
||||||
language: python
|
language: python
|
||||||
types: [python]
|
types: [python]
|
||||||
|
|
@ -139,31 +139,31 @@
|
||||||
files: '^$'
|
files: '^$'
|
||||||
- id: fix-byte-order-marker
|
- id: fix-byte-order-marker
|
||||||
name: fix utf-8 byte order marker
|
name: fix utf-8 byte order marker
|
||||||
description: removes utf-8 byte order marker
|
description: removes utf-8 byte order marker.
|
||||||
entry: fix-byte-order-marker
|
entry: fix-byte-order-marker
|
||||||
language: python
|
language: python
|
||||||
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'
|
description: 'add # -*- coding: utf-8 -*- to the top of python files.'
|
||||||
language: python
|
language: python
|
||||||
entry: fix-encoding-pragma
|
entry: fix-encoding-pragma
|
||||||
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
|
description: prevent addition of new git submodules.
|
||||||
language: python
|
language: python
|
||||||
entry: forbid-new-submodules
|
entry: forbid-new-submodules
|
||||||
types: [directory]
|
types: [directory]
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
name: mixed line ending
|
name: mixed line ending
|
||||||
description: replaces or checks mixed line ending
|
description: replaces or checks mixed line ending.
|
||||||
entry: mixed-line-ending
|
entry: mixed-line-ending
|
||||||
language: python
|
language: python
|
||||||
types: [text]
|
types: [text]
|
||||||
- id: name-tests-test
|
- id: name-tests-test
|
||||||
name: tests should end in _test.py
|
name: tests should end in _test.py
|
||||||
description: this verifies that test files are named correctly
|
description: this verifies that test files are named correctly.
|
||||||
entry: name-tests-test
|
entry: name-tests-test
|
||||||
language: python
|
language: python
|
||||||
files: (^|/)tests/.+\.py$
|
files: (^|/)tests/.+\.py$
|
||||||
|
|
@ -175,7 +175,7 @@
|
||||||
always_run: true
|
always_run: true
|
||||||
- id: requirements-txt-fixer
|
- id: requirements-txt-fixer
|
||||||
name: fix requirements.txt
|
name: fix requirements.txt
|
||||||
description: sorts entries in requirements.txt
|
description: sorts entries in requirements.txt.
|
||||||
entry: requirements-txt-fixer
|
entry: requirements-txt-fixer
|
||||||
language: python
|
language: python
|
||||||
files: requirements.*\.txt$
|
files: requirements.*\.txt$
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue