Skip to content

Commit

Permalink
Update dependency pre-commit to v4 (#115)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [pre-commit](https://redirect.github.com/pre-commit/pre-commit) |
major | `==3.8.0` -> `==4.0.1` |

---

### Release Notes

<details>
<summary>pre-commit/pre-commit (pre-commit)</summary>

###
[`v4.0.1`](https://redirect.github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#401---2024-10-08)

[Compare
Source](https://redirect.github.com/pre-commit/pre-commit/compare/v4.0.0...v4.0.1)

\==================

##### Fixes

- Fix `pre-commit migrate-config` for unquoted deprecated stages names
with
    purelib `pyyaml`.
-
[#&#8203;3324](https://redirect.github.com/pre-commit/pre-commit/issues/3324)
PR by [@&#8203;asottile](https://redirect.github.com/asottile).
-
[pre-commit-ci/issues#234](https://redirect.github.com/pre-commit-ci/issues/issues/234)
issue by
[@&#8203;lorenzwalthert](https://redirect.github.com/lorenzwalthert).

###
[`v4.0.0`](https://redirect.github.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#400---2024-10-05)

[Compare
Source](https://redirect.github.com/pre-commit/pre-commit/compare/v3.8.0...v4.0.0)

\==================

##### Features

-   Improve `pre-commit migrate-config` to handle more yaml formats.
-
[#&#8203;3301](https://redirect.github.com/pre-commit/pre-commit/issues/3301)
PR by [@&#8203;asottile](https://redirect.github.com/asottile).
-   Handle `stages` deprecation in `pre-commit migrate-config`.
-
[#&#8203;3302](https://redirect.github.com/pre-commit/pre-commit/issues/3302)
PR by [@&#8203;asottile](https://redirect.github.com/asottile).
-
[#&#8203;2732](https://redirect.github.com/pre-commit/pre-commit/issues/2732)
issue by [@&#8203;asottile](https://redirect.github.com/asottile).
-   Upgrade `ruby-build`.
-
[#&#8203;3199](https://redirect.github.com/pre-commit/pre-commit/issues/3199)
PR by [@&#8203;ThisGuyCodes](https://redirect.github.com/ThisGuyCodes).
-   Add "sensible regex" warnings to `repo: meta`.
-
[#&#8203;3311](https://redirect.github.com/pre-commit/pre-commit/issues/3311)
PR by [@&#8203;asottile](https://redirect.github.com/asottile).
- Add warnings for deprecated `stages` (`commit` -> `pre-commit`, `push`
->
    `pre-push`, `merge-commit` -> `pre-merge-commit`).
-
[#&#8203;3312](https://redirect.github.com/pre-commit/pre-commit/issues/3312)
PR by [@&#8203;asottile](https://redirect.github.com/asottile).
-
[#&#8203;3313](https://redirect.github.com/pre-commit/pre-commit/issues/3313)
PR by [@&#8203;asottile](https://redirect.github.com/asottile).
-
[#&#8203;3315](https://redirect.github.com/pre-commit/pre-commit/issues/3315)
PR by [@&#8203;asottile](https://redirect.github.com/asottile).
-
[#&#8203;2732](https://redirect.github.com/pre-commit/pre-commit/issues/2732)
issue by [@&#8203;asottile](https://redirect.github.com/asottile).

##### Migrating

- `language: python_venv` has been removed -- use `language: python`
instead.
-
[#&#8203;3320](https://redirect.github.com/pre-commit/pre-commit/issues/3320)
PR by [@&#8203;asottile](https://redirect.github.com/asottile).
-
[#&#8203;2734](https://redirect.github.com/pre-commit/pre-commit/issues/2734)
issue by [@&#8203;asottile](https://redirect.github.com/asottile).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMzguNCIsInVwZGF0ZWRJblZlciI6IjM4LjEzOC40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
  • Loading branch information
RKIMetadataExchange authored Nov 4, 2024
1 parent 9167981 commit fca460e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mex-{{ cookiecutter.project_name }}/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cruft==2.15.0
mex-release @ git+https://github.com/robert-koch-institut/mex-release.git
pdm==2.19.1
pre-commit==3.8.0
pre-commit==4.0.1
wheel==0.44.0
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cruft==2.15.0
mex-release @ git+https://github.com/robert-koch-institut/mex-release.git
pdm==2.19.1
pre-commit==3.8.0
pre-commit==4.0.1
wheel==0.44.0

0 comments on commit fca460e

Please sign in to comment.