Skip to content

Commit 93e46e7

Browse files
committed
Fix pre-commit failures for existing yaml files
1 parent 7f943b3 commit 93e46e7

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ repos:
99
rev: v1.24.2
1010
hooks:
1111
- id: yamllint
12+
args: [-s]
1213
- repo: https://gitlab.com/pycqa/flake8
1314
rev: 3.8.3
1415
hooks:

.yamllint

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@ extends: default
44
rules:
55
# Property-indent errors are very noisy as tools all make different choices.
66
# Until a good yaml auto-indenter appears, we'll relax this rule.
7-
# (we still enforce that they're indented consistently within a file)
8-
indentation:
9-
indent-sequences: consistent
7+
indentation: disable
8+
comments: disable
9+
comments-indentation: disable
10+
1011
# URLs and base64 strings break this a lot, and multi-line URLs aren't
1112
# clearer. Not worth it.
1213
line-length: disable
13-
# The default formatting output
14-
comments-indentation: disable
14+
15+
# Github Actions config uses the word 'on', but not as a truthy-value.
16+
truthy:
17+
ignore: |
18+
.github/workflows/*.yml

docker-compose.override.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
version: "3.4"
23
services:
34
explorer:

0 commit comments

Comments
 (0)