Added end of file fixer hook.

This commit is contained in:
Anthony Sottile 2014-03-22 21:40:57 -07:00
parent be8b296a0a
commit 57f1533b84
4 changed files with 118 additions and 0 deletions

View file

@ -19,3 +19,8 @@
description: This verifies that test files are named correctly
entry: name-tests-test
language: python
- id: end-of-file-fixer
name: Fix End of Files
description: Ensures that a file is either empty, or ends with one newline.
entry: end-of-file-fixer
language: python