mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 03:26:53 +00:00
Add a hook for yaml files.
This commit is contained in:
parent
212b3dc49d
commit
3e45f53e68
8 changed files with 59 additions and 3 deletions
2
testing/resources/bad_yaml.notyaml
Normal file
2
testing/resources/bad_yaml.notyaml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# It's surprisingly hard to make invalid yaml
|
||||
a: "
|
||||
1
testing/resources/ok_yaml.yaml
Normal file
1
testing/resources/ok_yaml.yaml
Normal file
|
|
@ -0,0 +1 @@
|
|||
im: ok yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue