From cc997d7086f6177044d654a5de1cac50b961822b Mon Sep 17 00:00:00 2001 From: tdeo Date: Tue, 2 Sep 2014 10:00:34 +0200 Subject: [PATCH] Add .erb files to hooks For end of file fixer and trailing whitespaces --- hooks.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks.yaml b/hooks.yaml index 84685f2..3fa9bd9 100644 --- a/hooks.yaml +++ b/hooks.yaml @@ -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)$