Skip to content

Commit

Permalink
Fix wrong target for sort-simple-yaml
Browse files Browse the repository at this point in the history
Configure sort-simple-yaml to apply to only yaml files.
  • Loading branch information
ctcjab authored Dec 11, 2024
1 parent e437b7e commit 85e8d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
description: sorts simple yaml files which consist only of top-level keys, preserving comments and blocks.
language: python
entry: sort-simple-yaml
files: '^$'
types: [yaml]
- id: trailing-whitespace
name: trim trailing whitespace
description: trims trailing whitespace.
Expand Down

0 comments on commit 85e8d9a

Please sign in to comment.