Introduce .pre-commit-hooks.yaml as a replacement for hooks.yaml

This commit is contained in:
Anthony Sottile 2017-01-21 13:07:37 -08:00
parent b90a598fac
commit b9e5184ebd
32 changed files with 107 additions and 21 deletions

View file

@ -0,0 +1,16 @@
- id: regex-with-quotes
name: Regex with quotes
entry: "foo'bar"
language: pcre
files: ''
- id: other-regex
name: Other regex
entry: ^\[INFO\]
language: pcre
files: ''
- id: regex-with-grep-args
name: Regex with grep extra arguments
entry: foo.+bar
language: pcre
files: ''
args: [-i]