Skip to content

Commit 4c36043

Browse files
Use types_or directive for pre-commit hook instead of files (#76)
Co-authored-by: Thibaud Colas <[email protected]>
1 parent 0935b93 commit 4c36043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
language: python
55
language_version: python3
66
entry: curlylint
7-
files: '\.(html|jinja|twig)$'
7+
types_or: [html, jinja, twig]
88
require_serial: true

0 commit comments

Comments
 (0)