Skip to content
Merged
Changes from 1 commit
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
31 changes: 31 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# License-header enforcement via pre-commit + rapidsai/pre-commit-hooks.
#
# Install locally with:
# pip install pre-commit && pre-commit install
#
# Run on all files (bulk update):
# PRE_COMMIT_HOME=$TMPDIR/pre-commit-cache pre-commit run verify-copyright --all-files

exclude: |
(?x)
^target/
^ui/node_modules/
^ui/.pnpm-store/
^docs/

repos:

# Insert/maintain the NVIDIA SPDX header. --spdx emits the two-line
# SPDX-FileCopyrightText / SPDX-License-Identifier block; the year range is
# derived from git history and auto-bumped on edit.
- repo: https://github.com/rapidsai/pre-commit-hooks
rev: v1.5.1
hooks:
- id: verify-copyright
args: [--fix, --spdx]
files: |
(?x)
[.](rs|js|ts|tsx|jsx|mjs|cjs|py|sh)$
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved