Skip to content

Commit 99feda3

Browse files
authored
fix verify-hardcoded-versions issues (rapidsai#21770)
Fixes this `pre-commit` error on `release/26.04`: ```text In file RAPIDS_BRANCH:1:9: release/26.04 warning: do not hard-code version, read from VERSION file instead ``` And this one on `main`: ```text In file python/cudf/cudf/tests/dataframe/test_binops.py:677:24: lambda: [25.5, 26.6, 27.7, 28.8], warning: do not hard-code version, read from VERSION file instead ``` See rapidsai/pre-commit-hooks#121 for details Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Lawrence Mitchell (https://github.com/wence-) - Bradley Dice (https://github.com/bdice) URL: rapidsai#21770
1 parent e992f97 commit 99feda3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ repos:
272272
(^|/)pom[.]xml$|
273273
^[.]pre-commit-config[.]yaml$|
274274
^conda/environments/|
275+
RAPIDS_BRANCH$|
275276
[.](md|rst|avro|parquet|png|orc|gz|pkl|sas7bdat)$|
277+
^python/cudf/cudf/tests|
276278
^python/cudf/cudf/VERSION$
277279
- id: verify-pyproject-license
278280
# ignore the top-level pyproject.toml, which doesn't

0 commit comments

Comments
 (0)