mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-04 19:26:52 +00:00
Add --replace-single-quotes to replace single quotes with double ones
This commit is contained in:
parent
429455474b
commit
3310eb9734
3 changed files with 62 additions and 18 deletions
|
|
@ -112,6 +112,7 @@ Checks for the existence of private keys.
|
|||
|
||||
#### `double-quote-string-fixer`
|
||||
This hook replaces double quoted strings with single quoted strings.
|
||||
- `--replace-single-quotes` - replaces single quoted strings with double quoted strings.
|
||||
|
||||
#### `end-of-file-fixer`
|
||||
Makes sure files end in a newline and only a newline.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue