Skip to content

Bump pre-commit from 4.5.1 to 4.6.0#1422

Merged
JSv4 merged 1 commit intomainfrom
dependabot/pip/pre-commit-4.6.0
May 1, 2026
Merged

Bump pre-commit from 4.5.1 to 4.6.0#1422
JSv4 merged 1 commit intomainfrom
dependabot/pip/pre-commit-4.6.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 30, 2026

Bumps pre-commit from 4.5.1 to 4.6.0.

Release notes

Sourced from pre-commit's releases.

pre-commit v4.6.0

Features

  • pre-commit hook-impl: allow --hook-dir to be missing to enable easier usage with git 2.54+ git hooks.

Fixes

Changelog

Sourced from pre-commit's changelog.

4.6.0 - 2026-04-21

Features

  • pre-commit hook-impl: allow --hook-dir to be missing to enable easier usage with git 2.54+ git hooks.

Fixes

Commits
  • f35134b v4.6.0
  • 2a51ffc Merge pull request #3662 from pre-commit/hook-impl-optional-hook-dir
  • d7dee32 make --hook-dir optional for hook-impl
  • 965aeb1 Merge pull request #3661 from pre-commit/hook-impl-required
  • 2eacc06 --hook-type is required for hook-impl
  • f5678bf Merge pull request #3657 from pre-commit/pre-commit-ci-update-config
  • 054cc5b [pre-commit.ci] pre-commit autoupdate
  • 5c0f302 Merge pull request #3652 from pre-commit/pre-commit-ci-update-config
  • a5d9114 [pre-commit.ci] pre-commit autoupdate
  • 129a1f5 Merge pull request #3641 from pre-commit/mxr-patch-1
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 4.5.1 to 4.6.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v4.5.1...v4.6.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-version: 4.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 30, 2026
@claude
Copy link
Copy Markdown

claude Bot commented Apr 30, 2026

Code Review: Bump pre-commit 4.5.1 → 4.6.0

Overview

Routine Dependabot minor-version bump of the pre-commit dev tool in requirements/local.txt. This is a local/development-only dependency — no effect on production builds or CI runtime images.


What changed in pre-commit 4.6.0

  • Feature: pre-commit hook-impl now allows --hook-dir to be missing, improving compatibility with git 2.54+ native hooks.
  • Fix: --hook-type is now correctly enforced as required for hook-impl.

Assessment

Code quality / correctness: No application logic changes. Single-line pin bump is correct.

Risk: Very low. This is a dev tooling dependency only (black, isort, flake8 orchestrator). Minor semver bump (4.5.1 → 4.6.0) with no breaking changes listed in the changelog.

Security: No security advisories associated with this bump. The git 2.54+ hook-dir change is additive and opt-in.

Tests: No test changes needed — this updates the tool that runs pre-commit hooks, not any hook logic itself.

Compatibility note: If any contributor is on git 2.54+, the new optional --hook-dir behavior may improve their local dev experience.


Recommendation

Safe to merge. No concerns.

@JSv4 JSv4 merged commit acb21ce into main May 1, 2026
6 checks passed
@JSv4 JSv4 deleted the dependabot/pip/pre-commit-4.6.0 branch May 1, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant