Skip to content

chore(deps-dev): bump pre-commit from 3.8.0 to 4.7.0 - #2053

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/pre-commit-4.7.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/pre-commit-4.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 23, 2026

Copy link
Copy Markdown
Contributor

Bumps pre-commit from 3.8.0 to 4.7.0.

Release notes

Sourced from pre-commit's releases.

pre-commit v4.7.0

Fixes

pre-commit v4.6.2

Fixes

pre-commit v4.6.1

Fixes

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

pre-commit v4.5.1

Fixes

  • Fix language: python with repo: local without additional_dependencies.

pre-commit v4.5.0

Features

... (truncated)

Changelog

Sourced from pre-commit's changelog.

4.7.0 - 2026-10-12

Fixes

4.6.2 - 2026-08-10

Fixes

4.6.1 - 2026-07-21

Fixes

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

  • pre-commit hook-impl: --hook-type is required.

... (truncated)

Commits
  • 65bb884 v4.7.0
  • 73926c1 Merge pull request #3774 from cbirkhold/node-no-git-env-npm-install
  • 860d07d don't leak GIT_* env into npm install for language: node
  • 9ad8a0a Merge pull request #3775 from pre-commit/contextlib-chdir
  • 9905e88 use contextlib.chdir
  • 59cb792 Merge pull request #3771 from pre-commit/all-repos_autofix_py311-plus
  • 2be1701 remove triple-nested withs for 3.14 coverage
  • 4c8d22a py311+
  • c429238 Merge pull request #3770 from pre-commit/pre-commit-ci-update-config
  • f49e251 [pre-commit.ci] pre-commit autoupdate
  • 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 3.8.0 to 4.7.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@v3.8.0...v4.7.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-version: 4.7.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Oct 23, 2026

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM. This is a dev-only bump of pre-commit from 3.8.0 to 4.7.0, and pyproject.toml and uv.lock agree.

What was reviewed:

  • The pre-commit specifier changes to >=3.2.2,<5 in both pyproject.toml and the uv.lock dev metadata. The locked package entry moves to 4.7.0 with new sdist and wheel entries, and its dependency list is unchanged.
  • I checked .pre-commit-config.yaml for things pre-commit 4 removed. There are no deprecated stages names and no python_venv. The local hooks use language: system, and the uv-lock hook comes from an external repo.
Extended reasoning...

The change touches only the dev dependency group in pyproject.toml and the matching pre-commit entry in uv.lock. No runtime or library code changes, and nothing security-sensitive is involved. The repo's pre-commit config uses no settings that pre-commit 4 removed, and the project's requires-python of >=3.11 is compatible with pre-commit 4.x. CODEOWNERS covers only .github/, so neither changed file has an owner, and the PR has no other reviewer comments or objections.

This branch has not been deployed

No deployments
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants