Bump pre-commit from 3.5.0 to 3.6.2 #9

Open
dependabot[bot] wants to merge 1 commits from dependabot/pip/pre-commit-3.6.2 into main
dependabot[bot] commented 2024-02-19 22:27:23 +00:00 (Migrated from github.com)

Bumps pre-commit from 3.5.0 to 3.6.2.

Release notes

Sourced from pre-commit's releases.

pre-commit v3.6.2

Fixes

pre-commit v3.6.1

Fixes

pre-commit v3.6.0

Features

  • Check minimum_pre_commit_version first when parsing configs.

Fixes

Updating

Changelog

Sourced from pre-commit's changelog.

3.6.2 - 2024-02-18

Fixes

3.6.1 - 2024-02-10

Fixes

3.6.0 - 2023-12-09

Features

  • Check minimum_pre_commit_version first when parsing configs.

Fixes

Updating

Commits
  • e525726 v3.6.2
  • 3187538 Merge pull request #3130 from pre-commit/golang-build-during-commit-a
  • 61d9c95 fix building golang hooks during commit --all
  • 15bd0c7 v3.6.1
  • 92678c3 Merge pull request #3126 from pre-commit/crlf-only-diff
  • 032d8e2 staged_files_only can handle a crlf-only diff
  • 7384838 Merge pull request #3110 from untitaker/pythonexecutable
  • 96e0712 [pre-commit.ci] auto fixes from pre-commit.com hooks
  • 3388e2d Pop PYTHONEXECUTABLE
  • 10f8853 Merge pull request #3107 from pre-commit/pre-commit-ci-update-config
  • 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 3.5.0 to 3.6.2. <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 v3.6.2</h2> <h3>Fixes</h3> <ul> <li>Fix building golang hooks during <code>git commit --all</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3130">#3130</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/2722">#2722</a> issue by <a href="https://github.com/pestanko"><code>@​pestanko</code></a> and <a href="https://github.com/matthewhughes934"><code>@​matthewhughes934</code></a>.</li> </ul> </li> </ul> <h2>pre-commit v3.6.1</h2> <h3>Fixes</h3> <ul> <li>Remove <code>PYTHONEXECUTABLE</code> from environment when running. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3110">#3110</a> PR by <a href="https://github.com/untitaker"><code>@​untitaker</code></a>.</li> </ul> </li> <li>Handle staged-files-only with only a crlf diff. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3126">#3126</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li> <li>issue by <a href="https://github.com/tyyrok"><code>@​tyyrok</code></a>.</li> </ul> </li> </ul> <h2>pre-commit v3.6.0</h2> <h3>Features</h3> <ul> <li>Check <code>minimum_pre_commit_version</code> first when parsing configs. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3092">#3092</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li>Fix deprecation warnings for <code>importlib.resources</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3043">#3043</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li> </ul> </li> <li>Fix deprecation warnings for rmtree. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3079">#3079</a> PR by <a href="https://github.com/edgarrmondragon"><code>@​edgarrmondragon</code></a>.</li> </ul> </li> </ul> <h3>Updating</h3> <ul> <li>Drop support for python&lt;3.9. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3042">#3042</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3093">#3093</a> PR by <a href="https://github.com/asottile"><code>@​asottile</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>3.6.2 - 2024-02-18</h1> <h3>Fixes</h3> <ul> <li>Fix building golang hooks during <code>git commit --all</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3130">#3130</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/2722">#2722</a> issue by <a href="https://github.com/pestanko"><code>@​pestanko</code></a> and <a href="https://github.com/matthewhughes934"><code>@​matthewhughes934</code></a>.</li> </ul> </li> </ul> <h1>3.6.1 - 2024-02-10</h1> <h3>Fixes</h3> <ul> <li>Remove <code>PYTHONEXECUTABLE</code> from environment when running. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3110">#3110</a> PR by <a href="https://github.com/untitaker"><code>@​untitaker</code></a>.</li> </ul> </li> <li>Handle staged-files-only with only a crlf diff. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3126">#3126</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li> <li>issue by <a href="https://github.com/tyyrok"><code>@​tyyrok</code></a>.</li> </ul> </li> </ul> <h1>3.6.0 - 2023-12-09</h1> <h3>Features</h3> <ul> <li>Check <code>minimum_pre_commit_version</code> first when parsing configs. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3092">#3092</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li>Fix deprecation warnings for <code>importlib.resources</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3043">#3043</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li> </ul> </li> <li>Fix deprecation warnings for rmtree. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3079">#3079</a> PR by <a href="https://github.com/edgarrmondragon"><code>@​edgarrmondragon</code></a>.</li> </ul> </li> </ul> <h3>Updating</h3> <ul> <li>Drop support for python&lt;3.9. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3042">#3042</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3093">#3093</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pre-commit/pre-commit/commit/e5257268558a1e83731232b1ec4276a24ba870dc"><code>e525726</code></a> v3.6.2</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/3187538d2bbf6fe58cc3fb83d02b6338e691338e"><code>3187538</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3130">#3130</a> from pre-commit/golang-build-during-commit-a</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/61d9c95cc17cb391855d17cf382feb079372644e"><code>61d9c95</code></a> fix building golang hooks during <code>commit --all</code></li> <li><a href="https://github.com/pre-commit/pre-commit/commit/15bd0c7993587dc7d739ac6b1ab939eb9639bc1e"><code>15bd0c7</code></a> v3.6.1</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/92678c3fa2bbec7902c579685897c50004e46696"><code>92678c3</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3126">#3126</a> from pre-commit/crlf-only-diff</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/032d8e2704c9e77c04083cbcca92623a2f1e084f"><code>032d8e2</code></a> staged_files_only can handle a crlf-only diff</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/73848383f2f4d0fc97b2a769afb6da35610672a8"><code>7384838</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3110">#3110</a> from untitaker/pythonexecutable</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/96e0712f432ebf118a8f2963570586590d832e85"><code>96e0712</code></a> [pre-commit.ci] auto fixes from pre-commit.com hooks</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/3388e2dbdf8f95d280b837db8cb9e4f7e7680bd0"><code>3388e2d</code></a> Pop PYTHONEXECUTABLE</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/10f8853631ba5cde3040ed4455ef293736157233"><code>10f8853</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3107">#3107</a> from pre-commit/pre-commit-ci-update-config</li> <li>Additional commits viewable in <a href="https://github.com/pre-commit/pre-commit/compare/v3.5.0...v3.6.2">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=3.5.0&new-version=3.6.2)](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 2024-02-19 22:27:23 +00:00
github-actions[bot] commented 2024-02-19 22:30:43 +00:00 (Migrated from github.com)

🦙 MegaLinter status: ERROR

Descriptor Linter Files Fixed Errors Elapsed time
COPYPASTE jscpd yes 5 1.34s
EDITORCONFIG editorconfig-checker 1 0 0.0s
REPOSITORY checkov yes no 14.57s
REPOSITORY devskim yes no 2.42s
REPOSITORY dustilock yes no 0.0s
REPOSITORY gitleaks yes no 0.12s
REPOSITORY git_diff yes no 0.01s
REPOSITORY grype yes no 10.77s
REPOSITORY kics yes 1 1.42s
REPOSITORY secretlint yes no 0.92s
REPOSITORY syft yes no 0.26s
REPOSITORY trivy yes no 4.13s
REPOSITORY trivy-sbom yes no 4.03s
REPOSITORY trufflehog yes no 7.13s
SPELL cspell 2 0 2.7s
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.9.0) status: ❌ [ERROR](https://github.com/ElBe-Development/logging-rs/actions/runs/7965797118) | Descriptor | Linter |Files|Fixed| Errors |Elapsed time| |---------------|-------------------------------------------------------------------------------------------------|-----|-----|---------------------------------------------------------------------------|------------| |❌ COPYPASTE |[jscpd](https://megalinter.io/7.9.0/descriptors/copypaste_jscpd) |yes | |[5](https://github.com/ElBe-Development/logging-rs/actions/runs/7965797118)|1.34s | |✅ EDITORCONFIG|[editorconfig-checker](https://megalinter.io/7.9.0/descriptors/editorconfig_editorconfig_checker)|1 | | 0|0.0s | |✅ REPOSITORY |[checkov](https://megalinter.io/7.9.0/descriptors/repository_checkov) |yes | |no |14.57s | |✅ REPOSITORY |[devskim](https://megalinter.io/7.9.0/descriptors/repository_devskim) |yes | |no |2.42s | |✅ REPOSITORY |[dustilock](https://megalinter.io/7.9.0/descriptors/repository_dustilock) |yes | |no |0.0s | |✅ REPOSITORY |[gitleaks](https://megalinter.io/7.9.0/descriptors/repository_gitleaks) |yes | |no |0.12s | |✅ REPOSITORY |[git_diff](https://megalinter.io/7.9.0/descriptors/repository_git_diff) |yes | |no |0.01s | |✅ REPOSITORY |[grype](https://megalinter.io/7.9.0/descriptors/repository_grype) |yes | |no |10.77s | |❌ REPOSITORY |[kics](https://megalinter.io/7.9.0/descriptors/repository_kics) |yes | |[1](https://github.com/ElBe-Development/logging-rs/actions/runs/7965797118)|1.42s | |✅ REPOSITORY |[secretlint](https://megalinter.io/7.9.0/descriptors/repository_secretlint) |yes | |no |0.92s | |✅ REPOSITORY |[syft](https://megalinter.io/7.9.0/descriptors/repository_syft) |yes | |no |0.26s | |✅ REPOSITORY |[trivy](https://megalinter.io/7.9.0/descriptors/repository_trivy) |yes | |no |4.13s | |✅ REPOSITORY |[trivy-sbom](https://megalinter.io/7.9.0/descriptors/repository_trivy_sbom) |yes | |no |4.03s | |✅ REPOSITORY |[trufflehog](https://megalinter.io/7.9.0/descriptors/repository_trufflehog) |yes | |no |7.13s | |✅ SPELL |[cspell](https://megalinter.io/7.9.0/descriptors/spell_cspell) |2 | | 0|2.7s | |✅ SPELL |[lychee](https://megalinter.io/7.9.0/descriptors/spell_lychee) |1 | | 0|0.04s | See detailed report in [MegaLinter reports](https://github.com/ElBe-Development/logging-rs/actions/runs/7965797118) _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-3.6.2:dependabot/pip/pre-commit-3.6.2
git checkout dependabot/pip/pre-commit-3.6.2
Sign in to join this conversation.
No description provided.