Add .erb files to hooks

For end of file fixer and trailing whitespaces
This commit is contained in:
tdeo 2014-09-02 10:00:34 +02:00
parent d3db038582
commit cc997d7086

View file

@ -28,7 +28,7 @@
description: Ensures that a file is either empty, or ends with one newline.
entry: end-of-file-fixer
language: python
files: \.(js|json|rb|md|py|scss|sh|tmpl|txt|yaml|yml)$
files: \.(erb|js|json|rb|md|py|scss|sh|tmpl|txt|yaml|yml)$
- id: flake8
name: Flake8
description: This hook runs flake8.
@ -52,4 +52,4 @@
description: This hook trims trailing whitespace.
entry: trailing-whitespace-fixer
language: python
files: \.(js|json|rb|md|py|scss|sh|tmpl|txt|yaml|yml)$
files: \.(erb|js|json|rb|md|py|scss|sh|tmpl|txt|yaml|yml)$