-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy path.yamllint.yaml
More file actions
37 lines (36 loc) · 1.04 KB
/
Copy path.yamllint.yaml
File metadata and controls
37 lines (36 loc) · 1.04 KB
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
# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
extends: default
rules:
anchors:
forbid-undeclared-aliases: true
forbid-duplicated-anchors: true
forbid-unused-anchors: true
braces:
forbid: false
min-spaces-inside: 0
# allow 1 space for jinja templating in conda recipes
max-spaces-inside: 1
min-spaces-inside-empty: -1
max-spaces-inside-empty: -1
brackets: enable
colons:
max-spaces-before: 0
max-spaces-after: 1
commas:
max-spaces-before: 0
min-spaces-after: 1
max-spaces-after: 1
comments: disable
comments-indentation: disable
document-end: disable
document-start: disable
key-duplicates:
forbid-duplicated-merge-keys: true
line-length: disable
truthy:
allowed-values: ['false', 'true']
# having problematic value in keys is rare... and also
# GitHub Actions' choie of 'on:' triggers this check
# ref: https://github.com/adrienverge/yamllint/issues/430
check-keys: false