mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
Use new features from pre-commit 0.15.0
This commit is contained in:
parent
ab2a849052
commit
41ff0e10a8
2 changed files with 9 additions and 6 deletions
|
|
@ -193,10 +193,13 @@
|
|||
minimum_pre_commit_version: 0.15.0
|
||||
- id: mixed-line-ending
|
||||
name: Mixed line ending
|
||||
language: python
|
||||
entry: 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
|
||||
|
|
|
|||
|
|
@ -131,11 +131,11 @@
|
|||
files: ''
|
||||
minimum_pre_commit_version: 0.15.0
|
||||
- id: mixed-line-ending
|
||||
name: Mixed line ending
|
||||
language: python
|
||||
entry: mixed-line-ending
|
||||
description: Replaces or checks mixed line ending
|
||||
language: system
|
||||
name: upgrade-your-pre-commit-version
|
||||
entry: upgrade-your-pre-commit-version
|
||||
files: ''
|
||||
minimum_pre_commit_version: 0.15.0
|
||||
- id: name-tests-test
|
||||
language: system
|
||||
name: upgrade-your-pre-commit-version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue