This commit is contained in:
Anthony Sottile 2015-02-22 08:39:33 -08:00
parent c4c3c735fd
commit 9f107a0327
4 changed files with 20 additions and 8 deletions

View file

@ -49,6 +49,12 @@
entry: debug-statement-hook
language: python
files: \.py$
- id: double-quote-string-fixer
name: Fix double quoted strings
description: This hook replaces double quoted strings with single quoted strings
entry: double-quote-string-fixer
language: python
files: \.py$
- id: end-of-file-fixer
name: Fix End of Files
description: Ensures that a file is either empty, or ends with one newline.
@ -79,12 +85,6 @@
entry: requirements-txt-fixer
language: python
files: requirements.*\.txt$
- id: double-quote-string-fixer
name: Fix double quoted strings
description: This hook replaces double quoted strings with single quoted strings
entry: double-quote-string-fixer
language: python
files: \.py$
- id: trailing-whitespace
name: Trim Trailing Whitespace
description: This hook trims trailing whitespace.