mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 12:06:53 +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
|
minimum_pre_commit_version: 0.15.0
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
name: Mixed line ending
|
name: Mixed line ending
|
||||||
language: python
|
|
||||||
entry: mixed-line-ending
|
|
||||||
description: Replaces or checks mixed line ending
|
description: Replaces or checks mixed line ending
|
||||||
|
entry: mixed-line-ending
|
||||||
|
language: python
|
||||||
|
types: [text]
|
||||||
|
# for backward compatibility
|
||||||
files: ''
|
files: ''
|
||||||
|
minimum_pre_commit_version: 0.15.0
|
||||||
- id: name-tests-test
|
- id: name-tests-test
|
||||||
name: Tests should end in _test.py
|
name: Tests should end in _test.py
|
||||||
description: This verifies that test files are named correctly
|
description: This verifies that test files are named correctly
|
||||||
|
|
|
||||||
|
|
@ -131,11 +131,11 @@
|
||||||
files: ''
|
files: ''
|
||||||
minimum_pre_commit_version: 0.15.0
|
minimum_pre_commit_version: 0.15.0
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
name: Mixed line ending
|
language: system
|
||||||
language: python
|
name: upgrade-your-pre-commit-version
|
||||||
entry: mixed-line-ending
|
entry: upgrade-your-pre-commit-version
|
||||||
description: Replaces or checks mixed line ending
|
|
||||||
files: ''
|
files: ''
|
||||||
|
minimum_pre_commit_version: 0.15.0
|
||||||
- id: name-tests-test
|
- id: name-tests-test
|
||||||
language: system
|
language: system
|
||||||
name: upgrade-your-pre-commit-version
|
name: upgrade-your-pre-commit-version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue