mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
Added yamllint hook
* Added yamllint hook v1.25.0
* disabled line-length warning by default
* fixed lint recommendations to file
This commit is contained in:
parent
91d9e5f79e
commit
9cbfcde81a
1 changed files with 36 additions and 29 deletions
|
|
@ -1,3 +1,5 @@
|
|||
---
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v3.3.0
|
||||
|
|
@ -48,6 +50,11 @@ repos:
|
|||
hooks:
|
||||
- id: mypy
|
||||
exclude: ^testing/resources/
|
||||
- repo: https://github.com/adrienverge/yamllint
|
||||
rev: v1.25.0
|
||||
hooks:
|
||||
- id: yamllint
|
||||
args: ['-d {extends: default, rules: {line-length: disable}}', '-s']
|
||||
- repo: meta
|
||||
hooks:
|
||||
- id: check-hooks-apply
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue