Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork966
Bump the pre-commit group with 5 updates#2111
Conversation
Bumps the pre-commit group with 5 updates:| Package | From | To || --- | --- | --- || [https://github.com/codespell-project/codespell](https://github.com/codespell-project/codespell) | `v2.4.1` | `2.4.2` || [https://github.com/astral-sh/ruff-pre-commit](https://github.com/astral-sh/ruff-pre-commit) | `v0.11.12` | `0.15.5` || [https://github.com/shellcheck-py/shellcheck-py](https://github.com/shellcheck-py/shellcheck-py) | `v0.10.0.1` | `0.11.0.1` || [https://github.com/pre-commit/pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks) | `v5.0.0` | `6.0.0` || [https://github.com/abravalheri/validate-pyproject](https://github.com/abravalheri/validate-pyproject) | `v0.24.1` | `0.25` |Updates `https://github.com/codespell-project/codespell` from v2.4.1 to 2.4.2- [Release notes](https://github.com/codespell-project/codespell/releases)- [Commits](codespell-project/codespell@v2.4.1...v2.4.2)Updates `https://github.com/astral-sh/ruff-pre-commit` from v0.11.12 to 0.15.5- [Release notes](https://github.com/astral-sh/ruff-pre-commit/releases)- [Commits](astral-sh/ruff-pre-commit@v0.11.12...v0.15.5)Updates `https://github.com/shellcheck-py/shellcheck-py` from v0.10.0.1 to 0.11.0.1- [Commits](shellcheck-py/shellcheck-py@v0.10.0.1...v0.11.0.1)Updates `https://github.com/pre-commit/pre-commit-hooks` from v5.0.0 to 6.0.0- [Release notes](https://github.com/pre-commit/pre-commit-hooks/releases)- [Changelog](https://github.com/pre-commit/pre-commit-hooks/blob/main/CHANGELOG.md)- [Commits](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0)Updates `https://github.com/abravalheri/validate-pyproject` from v0.24.1 to 0.25- [Release notes](https://github.com/abravalheri/validate-pyproject/releases)- [Changelog](https://github.com/abravalheri/validate-pyproject/blob/main/CHANGELOG.rst)- [Commits](abravalheri/validate-pyproject@v0.24.1...v0.25)---updated-dependencies:- dependency-name:https://github.com/codespell-project/codespell dependency-version: 2.4.2 dependency-type: direct:production dependency-group: pre-commit- dependency-name:https://github.com/astral-sh/ruff-pre-commit dependency-version: 0.15.5 dependency-type: direct:production dependency-group: pre-commit- dependency-name:https://github.com/shellcheck-py/shellcheck-py dependency-version: 0.11.0.1 dependency-type: direct:production dependency-group: pre-commit- dependency-name:https://github.com/pre-commit/pre-commit-hooks dependency-version: 6.0.0 dependency-type: direct:production dependency-group: pre-commit- dependency-name:https://github.com/abravalheri/validate-pyproject dependency-version: '0.25' dependency-type: direct:production dependency-group: pre-commit...Signed-off-by: dependabot[bot] <support@github.com>
EliahKagan left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM. This is the same change as in the test PREliahKagan#5, which passed all CI checks atEliahKagan@57413b6. (Nonetheless, I'll wait for CI to pass before merging this.)
6fbbc6a intomainUh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Pull request overview
Updates the repository’s pre-commit hook versions to newer releases, keeping local/CI linting and validation tooling up to date.
Changes:
- Bump
codespellfromv2.4.1tov2.4.2 - Bump
ruff-pre-commitfromv0.11.12tov0.15.5 - Bump
shellcheck-py,pre-commit-hooks, andvalidate-pyprojectto their latest specified versions
💡Add Copilot custom instructions for smarter, more guided reviews.Learn how to get started.
You can also share your feedback on Copilot code review.Take the survey.
| - repo: https://github.com/pre-commit/pre-commit-hooks | ||
| rev:v5.0.0 | ||
| rev:v6.0.0 |
CopilotAIMar 9, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
pre-commit-hooks v6.0.0 requires Python >= 3.9. This repo still supports Python 3.7/3.8 (seepython_requires / tox env list), andtox -e misc runspre-commit, so contributors (or CI jobs) invoking pre-commit under 3.7/3.8 will fail to create the hook environment. Consider either pinningpre-commit-hooks to <6, or explicitly ensuring pre-commit runs with Python >= 3.9 (e.g., run themisc tox env only on >=3.9 and/or set adefault_language_version for python hooks).
| rev:v6.0.0 | |
| rev:v5.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I think it was okay for this to be non-blocking, but it makes a reasonable point--although it's been a long time since ourpre-commit hooks all worked on the lowest version of Python that GitPython supports, it may make sense to do something to make this clear.
I think Copilot is correct that we can usedefault_language_version to make the hooks run with a different version. This feels like it would be even better, but I'm not sure. I think it would be confusing to have that happen when running it from inside a virtual environment for an earlier version, and still not work if no such interpreter is available. Therefore I suspect just a comment, or even just a clear note in the readme, would be better. But I haven't looked into it.
Bumps the pre-commit group with 5 updates:
v2.4.12.4.2v0.11.120.15.5v0.10.0.10.11.0.1v5.0.06.0.0v0.24.10.25Updates
https://github.com/codespell-project/codespellfrom v2.4.1 to 2.4.2Release notes
Sourced fromhttps://github.com/codespell-project/codespell's releases.
... (truncated)
Commits
2ccb47fCompat with chardet 7 (#3886)4ec53bf[pre-commit.ci] pre-commit autoupdate2a4acbaBump actions/download-artifact from 7 to 8be17cacBump actions/upload-artifact from 6 to 704a0712Bump ruff (#3879)583d879avoide->avoid, avoided, avoids,1f59f34Add correction for 'foudation' to 'foundation'e047fdaAdd spelling correction for gather and variants.b5cd66drespondant->respondent92125a3Add detection of ivoice and variants.Updates
https://github.com/astral-sh/ruff-pre-commitfrom v0.11.12 to 0.15.5Release notes
Sourced fromhttps://github.com/astral-sh/ruff-pre-commit's releases.
... (truncated)
Commits
b969e28Mirror: 0.15.51629a02Bump astral-sh/setup-uv from 7.3.0 to 7.3.1 in the github-actions group (#157)a27a2e4Mirror: 0.15.43fe3928Mirror: 0.15.30839f92Mirror: 0.15.2fa93bc3Mirror: 0.15.19619b35Add example of prek.toml configuration to README (#156)9a92c9eBump astral-sh/setup-uv from 7.2.1 to 7.3.0 in the github-actions group (#155)0470f7cMirror: 0.15.0f13ed5bBump astral-sh/setup-uv from 7.2.0 to 7.2.1 in the github-actions group (#153)Updates
https://github.com/shellcheck-py/shellcheck-pyfrom v0.10.0.1 to 0.11.0.1Commits
745efacv0.11.0.114cdfdeMerge pull request#148 from cesarcoatl/shellcheck-v0.11.03a62d13Upgrade to v0.11.07061949Merge pull request#146 from shellcheck-py/pre-commit-ci-update-config7cbc850[pre-commit.ci] pre-commit autoupdatee74756dMerge pull request#145 from shellcheck-py/pre-commit-ci-update-config5f8f6ca[pre-commit.ci] pre-commit autoupdatec50617fMerge pull request#142 from shellcheck-py/pre-commit-ci-update-config09cfdf1[pre-commit.ci] auto fixes from pre-commit.com hooks291a598[pre-commit.ci] pre-commit autoupdateUpdates
https://github.com/pre-commit/pre-commit-hooksfrom v5.0.0 to 6.0.0Release notes
Sourced fromhttps://github.com/pre-commit/pre-commit-hooks's releases.
Changelog
Sourced fromhttps://github.com/pre-commit/pre-commit-hooks's changelog.
Commits
3e8a870v6.0.0a8f8651Merge pull request#1185 from pre-commit/pre-commit-ci-update-config1acd88e[pre-commit.ci] pre-commit autoupdate1450343Merge pull request#1182 from pre-commit/pre-commit-ci-update-configb554d0a[pre-commit.ci] pre-commit autoupdate582b9c6Merge pull request#1174 from pre-commit/pre-commit-ci-update-config84f8a9d[pre-commit.ci] pre-commit autoupdateec458dcMerge pull request#1166 from pre-commit/pre-commit-ci-update-config1ea82df[pre-commit.ci] pre-commit autoupdate540cd64Merge pull request#1164 from pre-commit/pre-commit-ci-update-configUpdates
https://github.com/abravalheri/validate-pyprojectfrom v0.24.1 to 0.25Release notes
Sourced fromhttps://github.com/abravalheri/validate-pyproject's releases.
Changelog
Sourced fromhttps://github.com/abravalheri/validate-pyproject's changelog.
Commits
4b2e70dchore(deps): update pre-commit hooks (#292)89a9326chore(deps): update pre-commit hooks5a6b217Update Cirrus CI configs (#291)db0698eUpdate Python image for aux tasks in Cirrus CI7ac6bddExplicitly set cert file location for Windows tests on Cirrus CI5b36c10Update docker images on Cirrus CIb13681cUpdate Python image on Windows for Cirrus CIc55827bAllow package-data for stubs packages (#248)cea7fccchore(deps): bump the actions group with 2 updates (#288)356c744[pre-commit.ci] pre-commit autoupdate (#286)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions