From 5cfc870f7f3ce0134e637617303062ac3846a8ea Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 31 Oct 2024 10:16:22 +0000
Subject: [PATCH] chore: bump pre-commit from 3.8.0 to 4.0.1 (#1256)
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 3.8.0
to 4.0.1.
Release notes
Sourced from pre-commit's
releases.
pre-commit v4.0.1
Fixes
- Fix
pre-commit migrate-config
for unquoted deprecated
stages names with
purelib pyyaml
.
pre-commit v4.0.0
Features
- Improve
pre-commit migrate-config
to handle more yaml
formats.
- Handle
stages
deprecation in pre-commit
migrate-config
.
- Upgrade
ruby-build
.
- Add "sensible regex" warnings to
repo: meta
.
- Add warnings for deprecated
stages
(commit
-> pre-commit
, push
->
pre-push
, merge-commit
->
pre-merge-commit
).
Migrating
language: python_venv
has been removed -- use
language: python
instead.
Changelog
Sourced from pre-commit's
changelog.
4.0.1 - 2024-10-08
Fixes
- Fix
pre-commit migrate-config
for unquoted deprecated
stages names with
purelib pyyaml
.
4.0.0 - 2024-10-05
Features
- Improve
pre-commit migrate-config
to handle more yaml
formats.
- Handle
stages
deprecation in pre-commit
migrate-config
.
- Upgrade
ruby-build
.
- Add "sensible regex" warnings to
repo: meta
.
- Add warnings for deprecated
stages
(commit
-> pre-commit
, push
->
pre-push
, merge-commit
->
pre-merge-commit
).
Migrating
language: python_venv
has been removed -- use
language: python
instead.
Commits
cc4a522
v4.0.1
772d7d4
Merge pull request #3324
from pre-commit/migrate-config-purelib
222c62b
fix migrate-config for purelib yaml
3d5548b
Merge pull request #3323
from pre-commit/pre-commit-ci-update-config
4235a87
[pre-commit.ci] pre-commit autoupdate
dbccd57
v4.0.0
d07e529
Merge pull request #3320
from pre-commit/remove-python-venv
801b956
remove deprecated python_venv alias
a2f7b80
Merge pull request #3315
from pre-commit/warn-deprecated-stage-names-on-init
d317223
add warning for deprecates stages for remote repos on init
- Additional commits viewable in compare
view
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pre-commit&package-manager=pip&previous-version=3.8.0&new-version=4.0.1)](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>
---
poetry.lock | 8 ++++----
pyproject.toml | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/poetry.lock b/poetry.lock
index ea6c1d90f..734fc72f9 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1502,13 +1502,13 @@ tests = ["pytest (>=5.4.1)", "pytest-cov (>=2.8.1)", "pytest-mypy (>=0.8.0)", "p
[[package]]
name = "pre-commit"
-version = "3.8.0"
+version = "4.0.1"
description = "A framework for managing and maintaining multi-language pre-commit hooks."
optional = false
python-versions = ">=3.9"
files = [
- {file = "pre_commit-3.8.0-py2.py3-none-any.whl", hash = "sha256:9a90a53bf82fdd8778d58085faf8d83df56e40dfe18f45b19446e26bf1b3a63f"},
- {file = "pre_commit-3.8.0.tar.gz", hash = "sha256:8bb6494d4a20423842e198980c9ecf9f96607a07ea29549e180eef9ae80fe7af"},
+ {file = "pre_commit-4.0.1-py2.py3-none-any.whl", hash = "sha256:efde913840816312445dc98787724647c65473daefe420785f885e8ed9a06878"},
+ {file = "pre_commit-4.0.1.tar.gz", hash = "sha256:80905ac375958c0444c65e9cebebd948b3cdb518f335a091a670a89d652139d2"},
]
[package.dependencies]
@@ -2670,4 +2670,4 @@ reclass-rs = ["reclass-rs"]
[metadata]
lock-version = "2.0"
python-versions = "^3.10,<3.13"
-content-hash = "cd4ae7617481da5c4fc4594b973399ad887238599d82985832de9af4dd4b5f77"
+content-hash = "b7f07a448b8f5681ce6bdda433312d52ff2b80323b5a4ccbc446e69a8c763704"
diff --git a/pyproject.toml b/pyproject.toml
index 9120ad36f..cba76ad6c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -50,7 +50,7 @@ optional = true
[tool.poetry.group.dev.dependencies]
black = "^24.8.0"
-pre-commit = "^3.8.0"
+pre-commit = ">=3.8,<5.0"
isort = "^5.13.2"
flake8 = "^7.1.1"
flake8-pyproject = "^1.2.3"