Skip to content

Commit 3fbe3a4

Browse files
authored
Update pre-commit hooks (#1579)
This updates pre-commit hooks and resolves a warning: ``` [WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this. ``` Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Jake Awe (https://github.com/AyodeAwe) - Kyle Edwards (https://github.com/KyleFromNVIDIA) URL: #1579
1 parent a6f544d commit 3fbe3a4

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.3.0
6+
rev: v6.0.0
77
hooks:
88
- id: trailing-whitespace
99
- id: end-of-file-fixer
1010
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: v0.14.1
11+
rev: v0.14.4
1212
hooks:
1313
- id: ruff-check
1414
args: [--fix]
1515
- id: ruff-format
1616
- repo: https://github.com/codespell-project/codespell
17-
rev: v2.1.0
17+
rev: v2.4.1
1818
hooks:
1919
- id: codespell
2020
exclude: |
@@ -23,7 +23,7 @@ repos:
2323
^CHANGELOG.md$|
2424
)
2525
- repo: https://github.com/pre-commit/mirrors-mypy
26-
rev: 'v0.991'
26+
rev: 'v1.18.2'
2727
hooks:
2828
- id: mypy
2929
additional_dependencies: [types-cachetools]
@@ -55,7 +55,7 @@ repos:
5555
- id: rapids-dependency-file-generator
5656
args: ["--clean", "--warn-all", "--strict"]
5757
- repo: https://github.com/shellcheck-py/shellcheck-py
58-
rev: v0.10.0.1
58+
rev: v0.11.0.1
5959
hooks:
6060
- id: shellcheck
6161

ci/test_python.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ rapids-logger "Check GPU usage"
3737
nvidia-smi
3838

3939
EXITCODE=0
40-
# shellcheck disable=SC2317
40+
# shellcheck disable=SC2329
4141
set_exit_code() {
4242
EXITCODE=$?
4343
rapids-logger "Test failed with error ${EXITCODE}"

ci/test_python_ucxx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ rapids-logger "Check GPU usage"
3737
nvidia-smi
3838

3939
EXITCODE=0
40-
# shellcheck disable=SC2317
40+
# shellcheck disable=SC2329
4141
set_exit_code() {
4242
EXITCODE=$?
4343
rapids-logger "Test failed with error ${EXITCODE}"

ci/test_wheel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RAPIDS_TESTS_DIR=${RAPIDS_TESTS_DIR:-"${PWD}/test-results"}
2222
mkdir -p "${RAPIDS_TESTS_DIR}"
2323

2424
EXITCODE=0
25-
# shellcheck disable=SC2317
25+
# shellcheck disable=SC2329
2626
set_exit_code() {
2727
EXITCODE=$?
2828
rapids-logger "Test failed with error ${EXITCODE}"

0 commit comments

Comments
 (0)