Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pre-commit requirement from ~=2.21 to ~=3.0 #8134

Merged
merged 4 commits into from Jan 31, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 30, 2023

Updates the requirements on pre-commit to permit the latest version.

Release notes

Sourced from pre-commit's releases.

pre-commit v3.0.2

Fixes

Changelog

Sourced from pre-commit's changelog.

3.0.2 - 2023-01-29

Fixes

3.0.1 - 2023-01-26

Fixes

  • Ensure coursier hooks are available offline after install.

3.0.0 - 2023-01-23

Features

Fixes

Updating

  • Drop support for python<3.8
  • Drop support for top-level list, use pre-commit migrate-config to update.
  • Drop support for sha to specify revision, use pre-commit migrate-config to update.
  • Remove pre-commit-validate-config and pre-commit-validate-manifest, use pre-commit validate-config and pre-commit validate-manifest instead.
  • language: golang hooks must use go.mod to specify dependencies

... (truncated)

Commits
  • 6abb05a v3.0.2
  • 2e1cfa8 Merge pull request #2728 from pre-commit/fix-r-local-hooks
  • 420902f fix r local hooks
  • 6eacdd4 Merge pull request #2726 from pre-commit/pick-better-ruby-version
  • 6e8051b speed up ruby tests by picking a prebuilt in 22.04
  • 840cf53 Merge pull request #2727 from pre-commit/ignore-gemfile
  • f4bd449 also ignore Gemfile in project
  • dd8e717 v3.0.1
  • 6d3a7ee Merge pull request #2723 from pre-commit/coursier-cache
  • 83e05e6 ensure coursier hooks are available offline after install
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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 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)

@dependabot dependabot bot added the dependency Label for github dependabot label Jan 30, 2023
@Pierre-Sassoulas Pierre-Sassoulas added the Skip news 🔇 This change does not require a changelog entry label Jan 30, 2023
@Pierre-Sassoulas Pierre-Sassoulas enabled auto-merge (squash) January 30, 2023 14:12
@Pierre-Sassoulas
Copy link
Member

@dependabot recreates

Updates the requirements on [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v2.21.0...v3.0.2)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@@ -1,7 +1,7 @@
-r requirements_test_pre_commit.txt
-r requirements_test_min.txt
coverage~=7.1
pre-commit~=2.21
pre-commit~=3.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering why pre-commit is in the test requirements and not the pre-commit requirements. The current fail for 3.7 is due to it, but I don't think we actually use pre-commit in pytest.

@codecov
Copy link

codecov bot commented Jan 31, 2023

Codecov Report

Merging #8134 (00d044f) into main (c668dca) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #8134   +/-   ##
=======================================
  Coverage   95.53%   95.53%           
=======================================
  Files         177      177           
  Lines       18622    18622           
=======================================
  Hits        17791    17791           
  Misses        831      831           
Impacted Files Coverage Δ
pylint/lint/utils.py 96.00% <0.00%> (ø)

@Pierre-Sassoulas Pierre-Sassoulas merged commit a9e44df into main Jan 31, 2023
@Pierre-Sassoulas Pierre-Sassoulas deleted the dependabot/pip/pre-commit-approx-eq-3.0 branch January 31, 2023 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Label for github dependabot Skip news 🔇 This change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants