Bump pre-commit from 4.1.0 to 4.2.0 #14

Open
dependabot[bot] wants to merge 1 commits from dependabot/pip/pre-commit-4.2.0 into main
dependabot[bot] commented 2025-03-19 12:40:39 +00:00 (Migrated from github.com)

Bumps 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

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

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

Dependabot compatibility score

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 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 <dependency name> 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)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 4.1.0 to 4.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pre-commit/pre-commit/releases">pre-commit's releases</a>.</em></p> <blockquote> <h2>pre-commit v4.2.0</h2> <h3>Features</h3> <ul> <li>For <code>language: python</code> first attempt a versioned python executable for the default language version before consulting a potentially unversioned <code>sys.executable</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3430">#3430</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li>Handle error during conflict detection when a file is named &quot;HEAD&quot; <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3425">#3425</a> PR by <a href="https://github.com/tusharsadhwani"><code>@​tusharsadhwani</code></a>.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md">pre-commit's changelog</a>.</em></p> <blockquote> <h1>4.2.0 - 2025-03-18</h1> <h3>Features</h3> <ul> <li>For <code>language: python</code> first attempt a versioned python executable for the default language version before consulting a potentially unversioned <code>sys.executable</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3430">#3430</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li>Handle error during conflict detection when a file is named &quot;HEAD&quot; <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3425">#3425</a> PR by <a href="https://github.com/tusharsadhwani"><code>@​tusharsadhwani</code></a>.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pre-commit/pre-commit/commit/aa48766b888990e7b118d12cf757109d96e65a7e"><code>aa48766</code></a> v4.2.0</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/bf6f11dc6ce59f2f12e5d02a6449ea2449aa64c4"><code>bf6f11d</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3430">#3430</a> from pre-commit/preferential-sys-impl</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/3e8d0f5e1c449381272b80241140e985631f9912"><code>3e8d0f5</code></a> adjust python default_language_version to prefer versioned exe</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/ff7256cedf8c78b326f4503373d142a5a9827e90"><code>ff7256c</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3425">#3425</a> from tusharsadhwani/ambiguous-ref</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/b7eb412c798424a94ca83c72eed6f97271545dc4"><code>b7eb412</code></a> fix: crash on ambiguous ref 'HEAD'</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/7b88c63ae691cb243c3137bce8fb870523e0a884"><code>7b88c63</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3404">#3404</a> from pre-commit/pre-commit-ci-update-config</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/94b97e28f7cc7d9bcb536d7a3cf7ef6311e076fd"><code>94b97e2</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/2f93b804849e9237561417fbca29cb8d8ea4c905"><code>2f93b80</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3401">#3401</a> from pre-commit/pre-commit-ci-update-config</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/4f90a1e88a80dd460f36e21d774d06bf0e73921b"><code>4f90a1e</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/aba1ce04e70162ca48b12f809ceffb253b788fe6"><code>aba1ce0</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3396">#3396</a> from pre-commit/all-repos_autofix_all-repos-sed</li> <li>Additional commits viewable in <a href="https://github.com/pre-commit/pre-commit/compare/v4.1.0...v4.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pre-commit&package-manager=pip&previous-version=4.1.0&new-version=4.2.0)](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) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> 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) </details>
ElBe-Plaq (Migrated from github.com) reviewed 2025-03-19 12:40:39 +00:00
github-actions[bot] commented 2025-03-19 12:43:04 +00:00 (Migrated from github.com)

🦙 MegaLinter status: ERROR

Descriptor Linter Files Fixed Errors Elapsed time
COPYPASTE jscpd yes no 1.28s
EDITORCONFIG editorconfig-checker 1 0 0.01s
REPOSITORY checkov yes no 17.06s
REPOSITORY devskim yes no 1.41s
REPOSITORY dustilock yes no 0.01s
REPOSITORY gitleaks yes no 0.41s
REPOSITORY git_diff yes no 0.0s
REPOSITORY grype yes no 14.54s
REPOSITORY kics yes 2 1.77s
REPOSITORY secretlint yes no 0.91s
REPOSITORY syft yes no 0.27s
REPOSITORY trivy yes no 7.55s
REPOSITORY trivy-sbom yes no 0.93s
REPOSITORY trufflehog yes no 5.02s
SPELL cspell 2 0 2.23s
SPELL lychee 1 0 0.04s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

## [🦙 MegaLinter](https://megalinter.io/7.13.0) status: ❌ [ERROR](https://github.com/ElBe-Development/localizer-rs/actions/runs/13946757304) | Descriptor | Linter |Files|Fixed| Errors |Elapsed time| |---------------|--------------------------------------------------------------------------------------------------|-----|-----|------------------------------------------------------------------------------|------------| |✅ COPYPASTE |[jscpd](https://megalinter.io/7.13.0/descriptors/copypaste_jscpd) |yes | |no |1.28s | |✅ EDITORCONFIG|[editorconfig-checker](https://megalinter.io/7.13.0/descriptors/editorconfig_editorconfig_checker)|1 | | 0|0.01s | |✅ REPOSITORY |[checkov](https://megalinter.io/7.13.0/descriptors/repository_checkov) |yes | |no |17.06s | |✅ REPOSITORY |[devskim](https://megalinter.io/7.13.0/descriptors/repository_devskim) |yes | |no |1.41s | |✅ REPOSITORY |[dustilock](https://megalinter.io/7.13.0/descriptors/repository_dustilock) |yes | |no |0.01s | |✅ REPOSITORY |[gitleaks](https://megalinter.io/7.13.0/descriptors/repository_gitleaks) |yes | |no |0.41s | |✅ REPOSITORY |[git_diff](https://megalinter.io/7.13.0/descriptors/repository_git_diff) |yes | |no |0.0s | |✅ REPOSITORY |[grype](https://megalinter.io/7.13.0/descriptors/repository_grype) |yes | |no |14.54s | |❌ REPOSITORY |[kics](https://megalinter.io/7.13.0/descriptors/repository_kics) |yes | |[2](https://github.com/ElBe-Development/localizer-rs/actions/runs/13946757304)|1.77s | |✅ REPOSITORY |[secretlint](https://megalinter.io/7.13.0/descriptors/repository_secretlint) |yes | |no |0.91s | |✅ REPOSITORY |[syft](https://megalinter.io/7.13.0/descriptors/repository_syft) |yes | |no |0.27s | |✅ REPOSITORY |[trivy](https://megalinter.io/7.13.0/descriptors/repository_trivy) |yes | |no |7.55s | |✅ REPOSITORY |[trivy-sbom](https://megalinter.io/7.13.0/descriptors/repository_trivy_sbom) |yes | |no |0.93s | |✅ REPOSITORY |[trufflehog](https://megalinter.io/7.13.0/descriptors/repository_trufflehog) |yes | |no |5.02s | |✅ SPELL |[cspell](https://megalinter.io/7.13.0/descriptors/spell_cspell) |2 | | 0|2.23s | |✅ SPELL |[lychee](https://megalinter.io/7.13.0/descriptors/spell_lychee) |1 | | 0|0.04s | See detailed report in [MegaLinter reports](https://github.com/ElBe-Development/localizer-rs/actions/runs/13946757304) _Set `VALIDATE_ALL_CODEBASE: true` in mega-linter.yml to validate all sources, not only the diff_ _MegaLinter is graciously provided by [![OX Security](https://www.ox.security/wp-content/uploads/2022/06/logo.svg?ref=megalinter_comment)](https://www.ox.security/?ref=megalinter)_ <!-- megalinter: github-comment-reporter workflow='MegaLinter' jobid='build' -->
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/pip/pre-commit-4.2.0:dependabot/pip/pre-commit-4.2.0
git checkout dependabot/pip/pre-commit-4.2.0
Sign in to join this conversation.
No description provided.