-
Notifications
You must be signed in to change notification settings - Fork 52
/
.pre-commit-config.yaml
52 lines (50 loc) · 1.18 KB
/
.pre-commit-config.yaml
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
44
45
46
47
48
49
50
51
52
# Copyright (c) 2024, NVIDIA CORPORATION.
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
exclude: |
(?x)^(
assets/.*|
licenses/.*
)
- id: end-of-file-fixer
exclude: |
(?x)^(
assets/.*|
licenses/.*
)
- id: debug-statements
- id: check-builtin-literals
- id: check-executables-have-shebangs
- repo: https://github.com/sirosen/texthooks
rev: 0.6.7
hooks:
- id: fix-smartquotes
exclude: |
(?x)^(
assets/.*|
licenses/.*
)
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
types: [markdown]
exclude: |
(?x)^(
resources/conduct\.md
)$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.2
hooks:
- id: ruff
args: ["--fix"]
- id: ruff-format
- repo: https://github.com/rapidsai/pre-commit-hooks
rev: v0.4.0
hooks:
- id: verify-copyright
default_language_version:
python: python3