-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
.yamllint
43 lines (40 loc) · 1014 Bytes
/
.yamllint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
yaml-files:
- '*.yaml'
- '*.yml'
- '.yamllint'
# The tools/accuracy_checker/ ignores are there because those files
# are all symlinks, and:
# a) it's pointless to check symlinks if we check the real files too;
# b) on Windows, Git turns links into regular files containing the target name,
# which yamllint complains about.
ignore: |
ci/bandit.yml
demos/thirdparty/
tools/accuracy_checker/dataset_definitions.yml
tools/accuracy_checker/configs/
rules:
line-length: disable
braces: enable
brackets: enable
colons:
max-spaces-before: 0
max-spaces-after: -1
commas: enable
comments:
level: warning
comments-indentation:
level: warning
document-end: disable
document-start: disable
empty-lines: enable
empty-values: enable
hyphens: enable
indentation: enable
key-duplicates: enable
key-ordering: disable
new-line-at-end-of-file: enable
new-lines: disable
octal-values: enable
quoted-strings: disable
trailing-spaces: enable
truthy: disable