Add mixed-line-ending hook

This commit is contained in:
Morgan Courbet 2017-06-13 21:38:14 +02:00 committed by Anthony Sottile
parent 78dffcc819
commit fc8a5b27e9
6 changed files with 388 additions and 0 deletions

View file

@ -191,6 +191,15 @@
# for backward compatibility
files: ''
minimum_pre_commit_version: 0.15.0
- id: mixed-line-ending
name: Mixed line ending
description: Replaces or checks mixed line ending
entry: mixed-line-ending
language: python
types: [text]
# for backward compatibility
files: ''
minimum_pre_commit_version: 0.15.0
- id: name-tests-test
name: Tests should end in _test.py
description: This verifies that test files are named correctly