Skip to content

Commit 24840b5

Browse files
authoredApr 5, 2020
Add yamllint (in pre-commit and CI) (home-assistant#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
1 parent 7653dc9 commit 24840b5

File tree

73 files changed

+621
-507
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+621
-507
lines changed
 

‎.github/lock.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ only: pulls
2424

2525
# Optionally, specify configuration settings just for `issues` or `pulls`
2626
issues:
27-
daysUntilLock: 30
27+
daysUntilLock: 30

‎.pre-commit-config.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ repos:
4646
- --branch=dev
4747
- --branch=master
4848
- --branch=rc
49+
- repo: https://github.com/adrienverge/yamllint.git
50+
rev: v1.21.0
51+
hooks:
52+
- id: yamllint
4953
- repo: local
5054
hooks:
5155
# Run mypy through our wrapper script in order to get the possible

0 commit comments

Comments
 (0)
Please sign in to comment.