Add C, C++ to whitespace hooks

This commit is contained in:
Anthony Sottile 2015-09-23 13:29:30 -07:00
parent 616c1ebd18
commit f82fb149af

View file

@ -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)$