diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index b71169bb..f2ee91af 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -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.