mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-16 02:21:46 +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:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v3.3.0
|
rev: v3.3.0
|
||||||
|
|
@ -48,6 +50,11 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
exclude: ^testing/resources/
|
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
|
- repo: meta
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-hooks-apply
|
- id: check-hooks-apply
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue