Skip to content

Commit a6ac655

Browse files
Use verify-hardcoded-version pre-commit hook (#1022)
Authors: - Kyle Edwards (https://github.com/KyleFromNVIDIA) Approvers: - Bradley Dice (https://github.com/bdice) URL: #1022
1 parent 632dbcd commit a6ac655

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.pre-commit-config.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
additional_dependencies:
2929
- tomli
3030
- repo: https://github.com/rapidsai/pre-commit-hooks
31-
rev: v1.3.3
31+
rev: v1.4.3
3232
hooks:
3333
- id: verify-copyright
3434
name: verify-copyright-cucim
@@ -574,6 +574,19 @@ repos:
574574
)
575575
- id: verify-alpha-spec
576576
- id: verify-pyproject-license
577+
- id: verify-hardcoded-version
578+
exclude: |
579+
(?x)
580+
(^|/)devcontainer[.]json$|
581+
(^|/)dependencies[.]yaml$|
582+
^[.]github/(workflows|ISSUE_TEMPLATE)/|
583+
(^|/)pom[.]xml$|
584+
^[.]pre-commit-config[.]yaml$|
585+
^conda/environments/|
586+
(^|/)VERSION$|
587+
(^|/)RAPIDS_BRANCH$|
588+
[.](md|rst|avro|parquet|png|orc|gz|pkl|sas7bdat)$|
589+
[.]code-workspace$
577590
- repo: https://github.com/rapidsai/dependency-file-generator
578591
rev: v1.20.0
579592
hooks:

0 commit comments

Comments
 (0)