Add yamllint (in pre-commit and CI) (#33676)

* Add yamllint (in pre-commit and CI)

* Fix linting for all YAML files

* Bump and add it to requirements

* Fix gen_requirements for pre-commit, remove 'v' from version
This commit is contained in:
Franck Nijhof
2020-04-05 10:33:45 +02:00
committed by GitHub
parent 7653dc947a
commit 24840b54ac
73 changed files with 621 additions and 507 deletions
+4
View File
@@ -46,6 +46,10 @@ repos:
- --branch=dev
- --branch=master
- --branch=rc
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.21.0
hooks:
- id: yamllint
- repo: local
hooks:
# Run mypy through our wrapper script in order to get the possible