mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 20:16:53 +00:00
Add mixed-line-ending hook
This commit is contained in:
parent
78dffcc819
commit
fc8a5b27e9
6 changed files with 388 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue