mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 03:26:53 +00:00
Merge branch 'master' into file_contents_sorter_hook
This commit is contained in:
commit
d188f2ecf8
8 changed files with 270 additions and 8 deletions
|
|
@ -153,6 +153,12 @@
|
|||
entry: requirements-txt-fixer
|
||||
language: python
|
||||
files: requirements.*\.txt$
|
||||
- id: sort-simple-yaml
|
||||
name: Sort simple YAML files
|
||||
language: python
|
||||
entry: sort-simple-yaml
|
||||
description: Sorts simple YAML files which consist only of top-level keys, preserving comments and blocks.
|
||||
files: '^$'
|
||||
- id: trailing-whitespace
|
||||
name: Trim Trailing Whitespace
|
||||
description: This hook trims trailing whitespace.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue