From 4f45448fc7c3afb34d7547b30b72229c0c649e47 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 19 Mar 2025 11:28:00 +0000
Subject: [PATCH] Bump pre-commit from 4.1.0 to 4.2.0 (#10599)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 4.1.0
to 4.2.0.
Release notes
Sourced from pre-commit's
releases.
pre-commit v4.2.0
Features
- For
language: python first attempt a versioned python
executable for the default language version before consulting a
potentially unversioned sys.executable.
Fixes
- Handle error during conflict detection when a file is named
"HEAD"
Changelog
Sourced from pre-commit's
changelog.
4.2.0 - 2025-03-18
Features
- For
language: python first attempt a versioned python
executable for
the default language version before consulting a potentially unversioned
sys.executable.
Fixes
- Handle error during conflict detection when a file is named
"HEAD"
Commits
aa48766
v4.2.0
bf6f11d
Merge pull request #3430
from pre-commit/preferential-sys-impl
3e8d0f5
adjust python default_language_version to prefer versioned exe
ff7256c
Merge pull request #3425
from tusharsadhwani/ambiguous-ref
b7eb412
fix: crash on ambiguous ref 'HEAD'
7b88c63
Merge pull request #3404
from pre-commit/pre-commit-ci-update-config
94b97e2
[pre-commit.ci] pre-commit autoupdate
2f93b80
Merge pull request #3401
from pre-commit/pre-commit-ci-update-config
4f90a1e
[pre-commit.ci] pre-commit autoupdate
aba1ce0
Merge pull request #3396
from pre-commit/all-repos_autofix_all-repos-sed
- Additional commits viewable in compare
view
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show 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)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
requirements/constraints.txt | 2 +-
requirements/dev.txt | 2 +-
requirements/lint.txt | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/requirements/constraints.txt b/requirements/constraints.txt
index 1dea80c62cf..d3f92d2a7ee 100644
--- a/requirements/constraints.txt
+++ b/requirements/constraints.txt
@@ -134,7 +134,7 @@ platformdirs==4.3.6
# via virtualenv
pluggy==1.5.0
# via pytest
-pre-commit==4.1.0
+pre-commit==4.2.0
# via -r requirements/lint.in
propcache==0.3.0
# via
diff --git a/requirements/dev.txt b/requirements/dev.txt
index f55b2675f80..5d2b7b8efb5 100644
--- a/requirements/dev.txt
+++ b/requirements/dev.txt
@@ -131,7 +131,7 @@ platformdirs==4.3.6
# via virtualenv
pluggy==1.5.0
# via pytest
-pre-commit==4.1.0
+pre-commit==4.2.0
# via -r requirements/lint.in
propcache==0.3.0
# via
diff --git a/requirements/lint.txt b/requirements/lint.txt
index f87d496f34b..3ad4b0d8d0c 100644
--- a/requirements/lint.txt
+++ b/requirements/lint.txt
@@ -55,7 +55,7 @@ platformdirs==4.3.6
# via virtualenv
pluggy==1.5.0
# via pytest
-pre-commit==4.1.0
+pre-commit==4.2.0
# via -r requirements/lint.in
proxy-py==2.4.10
# via -r requirements/lint.in