Skip to content

Conversation

@expobrain
Copy link
Owner

@expobrain expobrain commented Sep 8, 2025

Update versions of pre-commit hooks to latest version.

Summary by CodeRabbit

  • Chores
    • Updated development tooling versions with no functional changes or impact to the application.

@coderabbitai
Copy link

coderabbitai bot commented Sep 8, 2025

Walkthrough

Updated pre-commit hook revisions in .pre-commit-config.yaml: bumped pyupgrade, isort, black-pre-commit-mirror, and commitizen to newer rev values. No public/exported API signatures were changed.

Changes

Cohort / File(s) Summary of Changes
Pre-commit config
.pre-commit-config.yaml
Updated rev values: pyupgrade v3.20.0v3.21.1, isort 6.0.17.0.0, black-pre-commit-mirror 25.1.025.9.0, commitizen v4.8.3v4.9.1.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Update pre-commit hooks' directly and clearly describes the main change in the pull request, which is bumping versions of pre-commit hooks to their latest versions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update/pre-commit-hooks

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 724e0ff and 2e4e928.

📒 Files selected for processing (1)
  • .pre-commit-config.yaml (3 hunks)
🔇 Additional comments (4)
.pre-commit-config.yaml (4)

56-56: Verify Python version compatibility for isort 7.0.0.

isort 7.0.0 requires Python >=3.10.0, but Line 54 specifies --py38-plus for pyupgrade, suggesting the project may support Python 3.8+. Ensure this version bump doesn't exclude Python 3.8 and 3.9 users.

Please confirm:

  • Does this project still need to support Python < 3.10?
  • What was the previous isort version? (7.0.0 is a major version bump that may introduce breaking changes)

50-50: LGTM — pyupgrade v3.21.1 is up-to-date.

Latest version released Oct 9, 2025, confirming this is current.


69-69: LGTM — black-pre-commit-mirror 25.9.0 is appropriate.

This version is documented in Black's official pre-commit configuration guidance, confirming currency and reliability.


82-82: LGTM — commitizen v4.9.1 is up-to-date.

Latest version released Sep 10, 2025, confirming this is current.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
.pre-commit-config.yaml (1)

82-85: Optional: Add commitizen-branch hook at pre-push for branch naming checks.
Keeps commit messages and branch names aligned; low effort, good guardrail.

   - repo: https://github.com/commitizen-tools/commitizen
     rev: v4.8.4
     hooks:
       - id: commitizen
         stages: [commit-msg]
+      - id: commitizen-branch
+        stages: [pre-push]
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 10f08e5 and 70a90ec.

📒 Files selected for processing (1)
  • .pre-commit-config.yaml (1 hunks)
🔇 Additional comments (1)
.pre-commit-config.yaml (1)

82-82: Bump to Commitizen v4.8.4 is correct and current (as of Sep 8, 2025).
v4.8.4 is the latest on PyPI (released Sep 5, 2025). (pypi.org)

@expobrain expobrain force-pushed the update/pre-commit-hooks branch from 70a90ec to b6a1e51 Compare September 15, 2025 01:39
@expobrain expobrain force-pushed the update/pre-commit-hooks branch from b6a1e51 to b5d2af0 Compare September 22, 2025 01:40
@expobrain expobrain force-pushed the update/pre-commit-hooks branch from b5d2af0 to 4023032 Compare October 6, 2025 01:26
@expobrain expobrain force-pushed the update/pre-commit-hooks branch from 4023032 to 724e0ff Compare October 13, 2025 01:40
@expobrain expobrain force-pushed the update/pre-commit-hooks branch from 724e0ff to 2e4e928 Compare November 10, 2025 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants