Add C, C++ to whitespace hooks
diff --git a/hooks.yaml b/hooks.yaml index 8fcbe78..6286b9b 100644 --- a/hooks.yaml +++ b/hooks.yaml
@@ -91,7 +91,7 @@ description: Ensures that a file is either empty, or ends with one newline. entry: end-of-file-fixer language: python - files: \.(html|erb|slim|haml|ejs|jade|js|coffee|json|rb|md|py|css|scss|less|sh|tmpl|txt|yaml|yml|pp)$ + files: \.(c|cpp|html|erb|slim|haml|ejs|jade|js|coffee|json|rb|md|py|css|scss|less|sh|tmpl|txt|yaml|yml|pp)$ - id: flake8 name: Flake8 description: This hook runs flake8. @@ -121,4 +121,4 @@ description: This hook trims trailing whitespace. entry: trailing-whitespace-fixer language: python - files: \.(html|erb|slim|haml|ejs|jade|js|coffee|json|rb|md|py|css|scss|less|sh|tmpl|txt|yaml|yml|pp)$ + files: \.(c|cpp|html|erb|slim|haml|ejs|jade|js|coffee|json|rb|md|py|css|scss|less|sh|tmpl|txt|yaml|yml|pp)$