Skip to content

chore(deps): bump the pre-commit-hooks group with 3 updates#2159

Merged
Pouyanpi merged 1 commit into
developfrom
dependabot/pre_commit/pre-commit-hooks-e3684b32f5
Jul 10, 2026
Merged

chore(deps): bump the pre-commit-hooks group with 3 updates#2159
Pouyanpi merged 1 commit into
developfrom
dependabot/pre_commit/pre-commit-hooks-e3684b32f5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 10, 2026

Copy link
Copy Markdown
Contributor

Bumps the pre-commit-hooks group with 3 updates: https://github.com/pre-commit/pre-commit-hooks, https://github.com/astral-sh/ruff-pre-commit and https://github.com/Lucas-C/pre-commit-hooks.

Updates https://github.com/pre-commit/pre-commit-hooks from v5.0.0 to 6.0.0

Release notes

Sourced from https://github.com/pre-commit/pre-commit-hooks's releases.

pre-commit-hooks v6.0.0

Fixes

Migrating

Changelog

Sourced from https://github.com/pre-commit/pre-commit-hooks's changelog.

6.0.0 - 2025-08-09

Fixes

Migrating

Commits
  • 3e8a870 v6.0.0
  • a8f8651 Merge pull request #1185 from pre-commit/pre-commit-ci-update-config
  • 1acd88e [pre-commit.ci] pre-commit autoupdate
  • 1450343 Merge pull request #1182 from pre-commit/pre-commit-ci-update-config
  • b554d0a [pre-commit.ci] pre-commit autoupdate
  • 582b9c6 Merge pull request #1174 from pre-commit/pre-commit-ci-update-config
  • 84f8a9d [pre-commit.ci] pre-commit autoupdate
  • ec458dc Merge pull request #1166 from pre-commit/pre-commit-ci-update-config
  • 1ea82df [pre-commit.ci] pre-commit autoupdate
  • 540cd64 Merge pull request #1164 from pre-commit/pre-commit-ci-update-config
  • Additional commits viewable in compare view

Updates https://github.com/astral-sh/ruff-pre-commit from v0.14.6 to 0.15.20

Release notes

Sourced from https://github.com/astral-sh/ruff-pre-commit's releases.

v0.15.20

See: https://github.com/astral-sh/ruff/releases/tag/0.15.20

v0.15.19

See: https://github.com/astral-sh/ruff/releases/tag/0.15.19

v0.15.18

See: https://github.com/astral-sh/ruff/releases/tag/0.15.18

v0.15.17

See: https://github.com/astral-sh/ruff/releases/tag/0.15.17

v0.15.16

See: https://github.com/astral-sh/ruff/releases/tag/0.15.16

v0.15.15

See: https://github.com/astral-sh/ruff/releases/tag/0.15.15

v0.15.14

See: https://github.com/astral-sh/ruff/releases/tag/0.15.14

v0.15.13

See: https://github.com/astral-sh/ruff/releases/tag/0.15.13

v0.15.12

See: https://github.com/astral-sh/ruff/releases/tag/0.15.12

v0.15.11

See: https://github.com/astral-sh/ruff/releases/tag/0.15.11

v0.15.10

See: https://github.com/astral-sh/ruff/releases/tag/0.15.10

v0.15.9

See: https://github.com/astral-sh/ruff/releases/tag/0.15.9

v0.15.8

See: https://github.com/astral-sh/ruff/releases/tag/0.15.8

v0.15.7

See: https://github.com/astral-sh/ruff/releases/tag/0.15.7

v0.15.6

See: https://github.com/astral-sh/ruff/releases/tag/0.15.6

v0.15.5

See: https://github.com/astral-sh/ruff/releases/tag/0.15.5

v0.15.4

See: https://github.com/astral-sh/ruff/releases/tag/0.15.4

... (truncated)

Commits

Updates https://github.com/Lucas-C/pre-commit-hooks from v1.4.2 to 1.5.6

Release notes

Sourced from https://github.com/Lucas-C/pre-commit-hooks's releases.

Run the hooks also in the manual stage + fix --insert-license-after-regex

Support for multiple license files

Added

+ Update multiple licence year ends in one run

+ Multiple license files

If more than one --license-filepath argument is specified, the checks are performed as follows:

  1. First, an exact match is pursued, checking the 1st license file, then the 2nd, and so on. If a match is found, the normal behavior is followed, as if the matched license file was the only license file specified.

  2. If no exact match is found, then the software resorts to fuzzy matching. Again, as soon as a match is found, the normal behavior is followed, as if the fuzzy-matched license file was the only license file specified.

  3. Finally, if neither exact nor fuzzy matches are found, the content of the first license file is inserted.

Preserve line endings when editing file in insert_license hook

Changed

  • preserve line endings when editing file in insert_license hook -cf. #84
  • the chmod hook does nothing under Windows

⚠️ ⚠️ This hook, since v1.5.2, requires pre-commit 3.2.0 or superior. If you get an error like Expected one of ... but got: 'pre-commit', check this issue: #83

insert_license: new --allow-past-years parameter allows stale years to be left unchanged

⚠️ ⚠️ This hook, since v1.5.2, requires pre-commit 3.2.0 or superior. If you get an error like Expected one of ... but got: 'pre-commit', check this issue: #83

Renamed chmod hook to pre_commit_chmod to avoid conflict with standard chmod command

Also confined formatting-related hooks to meaningful stages - cf. PR #75

Now this hook requires pre-commit 3.2.0 or superior. If you get an error like Expected one of ... but got: 'pre-commit', check this issue: #83

Using pre-commit built-in text files detection feature

cf. Lucas-C/pre-commit-hooks#72

New hook: chmod + using rapidfuzz instead of fuzzywuzzy

Usage

... (truncated)

Commits
  • ad1b27d New release 1.5.6
  • f5cfd5f feat: run the hooks also in the manual stage (#105)
  • abdd8b6 Document each hook (#104)
  • fd3fbe8 Fix --insert-license-after-regex to work beyond first line (#103)
  • 24c29be Pylint: disable too-many-positional-arguments
  • a30f0d8 New release v1.5.5
  • 1fc7578 README.md update (#99)
  • f305bcf Add support for multiple license files (#88)
  • d50596b Update multiple licence year ends in one run - close #94 (#98)
  • b26c56d Minor hooks upgrades in .pre-commit-config.yaml
  • Additional commits viewable in compare view

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 <dependency name> major version will 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 version will 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

Bumps the pre-commit-hooks group with 3 updates: [https://github.com/pre-commit/pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks), [https://github.com/astral-sh/ruff-pre-commit](https://github.com/astral-sh/ruff-pre-commit) and [https://github.com/Lucas-C/pre-commit-hooks](https://github.com/Lucas-C/pre-commit-hooks).


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/astral-sh/ruff-pre-commit` from v0.14.6 to 0.15.20
- [Release notes](https://github.com/astral-sh/ruff-pre-commit/releases)
- [Commits](astral-sh/ruff-pre-commit@v0.14.6...v0.15.20)

Updates `https://github.com/Lucas-C/pre-commit-hooks` from v1.4.2 to 1.5.6
- [Release notes](https://github.com/Lucas-C/pre-commit-hooks/releases)
- [Commits](Lucas-C/pre-commit-hooks@v1.4.2...v1.5.6)

---
updated-dependencies:
- dependency-name: https://github.com/pre-commit/pre-commit-hooks
  dependency-version: 6.0.0
  dependency-type: direct:production
  dependency-group: pre-commit-hooks
- dependency-name: https://github.com/astral-sh/ruff-pre-commit
  dependency-version: 0.15.20
  dependency-type: direct:production
  dependency-group: pre-commit-hooks
- dependency-name: https://github.com/Lucas-C/pre-commit-hooks
  dependency-version: 1.5.6
  dependency-type: direct:production
  dependency-group: pre-commit-hooks
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file pre_commit Pull requests that update pre_commit code labels Jul 10, 2026
@github-actions github-actions Bot added status: needs triage New issues that have not yet been reviewed or categorized. size: XS labels Jul 10, 2026
@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Pouyanpi Pouyanpi added status: triaged Triaged by a maintainer; eligible for automated review (CodeRabbit/Greptile). and removed status: needs triage New issues that have not yet been reviewed or categorized. labels Jul 10, 2026
@Pouyanpi
Pouyanpi self-requested a review July 10, 2026 11:47
@Pouyanpi
Pouyanpi merged commit 1a31207 into develop Jul 10, 2026
38 checks passed
@Pouyanpi
Pouyanpi deleted the dependabot/pre_commit/pre-commit-hooks-e3684b32f5 branch July 10, 2026 11:50
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 pre_commit Pull requests that update pre_commit code size: XS status: triaged Triaged by a maintainer; eligible for automated review (CodeRabbit/Greptile).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant