Skip to content

Commit 298d141

Browse files
Use verify-hardcoded-version pre-commit hook
1 parent a625006 commit 298d141

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ repos:
8888
hooks:
8989
- id: check-json
9090
- repo: https://github.com/rapidsai/pre-commit-hooks
91-
rev: v1.2.0
91+
rev: v1.3.3
9292
hooks:
9393
- id: verify-copyright
9494
name: verify-copyright-raft
@@ -149,6 +149,18 @@ repos:
149149
- id: verify-alpha-spec
150150
- id: verify-codeowners
151151
args: [--fix, --project-prefix=raft]
152+
- id: verify-hardcoded-version
153+
exclude: |
154+
(?x)
155+
devcontainer[.]json$|
156+
dependencies[.]yaml$|
157+
^[.]github/workflows/|
158+
[.]md$|
159+
pom[.]xml$|
160+
^[.]pre-commit-config[.]yaml$|
161+
[.]rst$|
162+
^conda/environments/|
163+
[.](png)$
152164
- repo: https://github.com/rapidsai/dependency-file-generator
153165
rev: v1.20.0
154166
hooks:

0 commit comments

Comments
 (0)