mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 12:06:53 +00:00
implemented a basic double quote string fixer
This commit is contained in:
parent
5fe82b3a37
commit
12f02dfeb8
6 changed files with 154 additions and 1 deletions
|
|
@ -79,6 +79,12 @@
|
|||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue