mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Introduce .pre-commit-hooks.yaml as a replacement for hooks.yaml
This commit is contained in:
parent
b90a598fac
commit
b9e5184ebd
32 changed files with 107 additions and 21 deletions
12
.pre-commit-hooks.yaml
Normal file
12
.pre-commit-hooks.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
- id: validate_config
|
||||
name: Validate Pre-Commit Config
|
||||
description: This validator validates a pre-commit hooks config file
|
||||
entry: pre-commit-validate-config
|
||||
language: python
|
||||
files: ^\.pre-commit-config\.yaml$
|
||||
- id: validate_manifest
|
||||
name: Validate Pre-Commit Manifest
|
||||
description: This validator validates a pre-commit hooks manifest file
|
||||
entry: pre-commit-validate-manifest
|
||||
language: python
|
||||
files: ^(\.pre-commit-hooks\.yaml|hooks\.yaml)$
|
||||
Loading…
Add table
Add a link
Reference in a new issue