Skip to content

[pre-commit.ci] pre-commit autoupdate - #22025

Closed
pre-commit-ci[bot] wants to merge 2 commits into
mainfrom
pre-commit-ci-update-config
Closed

[pre-commit.ci] pre-commit autoupdate#22025
pre-commit-ci[bot] wants to merge 2 commits into
mainfrom
pre-commit-ci-update-config

Conversation

updates:
- [github.com/MarcoGorelli/cython-lint: v0.18.1 → v0.19.0](MarcoGorelli/cython-lint@v0.18.1...v0.19.0)
- [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.20.0](pre-commit/mirrors-mypy@v1.13.0...v1.20.0)
- [github.com/pre-commit/mirrors-clang-format: v20.1.4 → v22.1.2](pre-commit/mirrors-clang-format@v20.1.4...v22.1.2)
- [github.com/codespell-project/codespell: v2.4.1 → v2.4.2](codespell-project/codespell@v2.4.1...v2.4.2)
- [github.com/astral-sh/ruff-pre-commit: v0.9.3 → v0.15.9](astral-sh/ruff-pre-commit@v0.9.3...v0.15.9)
- [github.com/rapidsai/pre-commit-hooks: v1.4.1 → v1.4.3](rapidsai/pre-commit-hooks@v1.4.1...v1.4.3)
@pre-commit-ci
pre-commit-ci Bot requested a review from a team as a code owner April 6, 2026 19:43
@pre-commit-ci
pre-commit-ci Bot requested a review from msarahan April 6, 2026 19:43
@copy-pr-bot

copy-pr-bot Bot commented Apr 6, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@pre-commit-ci
pre-commit-ci Bot requested review from a team as code owners April 6, 2026 19:47
@pre-commit-ci
pre-commit-ci Bot requested review from bdice and wence- April 6, 2026 19:47
@github-actions github-actions Bot added libcudf Affects libcudf (C++/CUDA) code. Python Affects Python cuDF API. Java Affects Java cuDF API. cudf.pandas Issues specific to cudf.pandas cudf-polars Issues specific to cudf-polars pylibcudf Issues specific to the pylibcudf package labels Apr 6, 2026
@GPUtester GPUtester moved this to In Progress in cuDF Python Apr 6, 2026
@vyasr

vyasr commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

pre-commit.ci autofix

@vyasr

vyasr commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

I'm going to handle these updates myself, there are a lot of changes.

@vyasr vyasr closed this Jun 16, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to Done in cuDF Python Jun 16, 2026
@vyasr vyasr mentioned this pull request Jun 16, 2026
rapids-bot Bot pushed a commit that referenced this pull request Jun 16, 2026
Updates all pre-commit hooks to their latest versions except `clang-format` since we typically keep that version synchronized across RAPIDS for devcontainers.

Replaces #22025

## Hook updates

| Hook | Old | New |
|------|-----|-----|
| codespell | v2.4.1 | v2.4.2 |
| dependency-file-generator | v1.20.2 | v1.20.3 |
| zizmor | v1.24.1 | v1.25.2 |
| cython-lint | v0.18.1 | v0.19.0 |
| rapidsai/pre-commit-hooks | v1.4.1 | v1.5.1 |
| ruff | v0.9.3 | v0.15.17 |
| mypy | v1.13.0 | v2.1.0 |

## Notable changes

### ruff v0.15.17
- Renamed `TCH` rule prefix to `TC` in all pyproject.toml configs.
- Fixed new lint errors: `RUF059`, `RUF043`, `RUF005`, `RUF046`, `PLW1508`.
- Converted `Scope` to `enum.StrEnum` (`UP042`).
- Suppressed `PLW1641` (frozen dataclass generates `__hash__` with custom `__eq__`).
- Suppressed `TC001`/`TC002` where runtime imports are needed.
- Added `PLC0415` to global ignore (intentional deferred/conditional imports).
- Excluded `*.pyi` from root ruff config (stubs use PEP 695 syntax, root targets Python 3.11).
- Removed deprecated `UP038` ignore from `python/cudf_polars/pyproject.toml`.

### mypy v2.1.0
- Removed 16 unused `# type: ignore` comments that mypy v2 no longer needs.
- Added targeted `# type: ignore[code]` suppressions for 26 pre-existing type errors newly caught by mypy v2.
- Fixed `UseDataPageMask` enum stub to use `member = value` syntax per PEP 435 semantics change.

### clang-format (not updated)
Updating clang-format from v20.1.8 to v22.1.5 causes a conflict between `ReflowComments` and the verify-copyright hook (the long SPDX header line exceeds ColumnLimit and gets wrapped, which the copyright hook then unwraps, creating an infinite oscillation). This will be addressed in a separate PR.

Authors:
  - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
  - Matthew Roeschke (https://github.com/mroeschke)
  - James Lamb (https://github.com/jameslamb)
  - Peter Andreas Entschev (https://github.com/pentschev)

URL: #22905
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cudf.pandas Issues specific to cudf.pandas cudf-polars Issues specific to cudf-polars Java Affects Java cuDF API. libcudf Affects libcudf (C++/CUDA) code. pylibcudf Issues specific to the pylibcudf package Python Affects Python cuDF API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants