Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ repos:
- id: shellcheck
args: ["--severity=warning"]
- repo: https://github.com/rapidsai/pre-commit-hooks
rev: v1.6.0
rev: v1.7.0
hooks:
- id: verify-copyright
args: [--fix, --spdx]
Expand All @@ -63,6 +63,7 @@ repos:
[.]py$|
[.]pre-commit-config[.]yaml$|
[.]pre-commit-hooks[.]yaml$|
[.]yamllint[.]yaml$|
pyproject[.]toml$|
[.]flake8$|
[.]gitignore$
Expand All @@ -74,3 +75,7 @@ repos:
rev: v1.24.1
hooks:
- id: zizmor
- repo: https://github.com/adrienverge/yamllint
rev: v1.38.0
hooks:
- id: yamllint
35 changes: 35 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 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
max-spaces-inside: 0
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' choice of 'on:' triggers this check
# ref: https://github.com/adrienverge/yamllint/issues/430
check-keys: false
Loading