Skip to content

Update pre-commit requirement, and update .pre-commit-config.yaml#731

Merged
ascillitoe merged 5 commits intomasterfrom
dependabot/pip/pre-commit-gte-1.20.0-and-lt-4.0.0
Apr 27, 2023
Merged

Update pre-commit requirement, and update .pre-commit-config.yaml#731
ascillitoe merged 5 commits intomasterfrom
dependabot/pip/pre-commit-gte-1.20.0-and-lt-4.0.0

Conversation

@dependabot
Copy link
Contributor

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

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

Release notes

Sourced from pre-commit's releases.

pre-commit v3.0.0

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
Changelog

Sourced from pre-commit's changelog.

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

2.21.0 - 2022-12-25

Features

... (truncated)

Commits

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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

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@v1.20.0...v3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 24, 2023
@dependabot dependabot bot requested review from ascillitoe, jklaise and mauicv January 24, 2023 07:02
@codecov-commenter
Copy link

codecov-commenter commented Jan 24, 2023

Codecov Report

Merging #731 (759cc02) into master (e09bd32) will decrease coverage by 0.16%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #731      +/-   ##
==========================================
- Coverage   80.82%   80.67%   -0.16%     
==========================================
  Files         144      144              
  Lines        9619     9578      -41     
==========================================
- Hits         7775     7727      -48     
- Misses       1844     1851       +7     
Flag Coverage Δ
macos-latest-3.9 ?
ubuntu-latest-3.10 ?
ubuntu-latest-3.7 ?
ubuntu-latest-3.8 ?
ubuntu-latest-3.9 80.67% <ø> (ø)
windows-latest-3.9 ?

Flags with carried forward coverage won't be shown. Click here to find out more.

see 9 files with indirect coverage changes

@ascillitoe
Copy link
Contributor

ascillitoe commented Feb 1, 2023

@jklaise @mauicv I've piggy-backed this dependabot PR to update the pre-commit config itself. If you think that's OK I will edit the PR title and merge description + do the same for alibi.

pre-commit/pre-commit-hooks is swapped for pycqa/flake8 because flake8 is being deprecated from pre-commit-hooks.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 2, 2023

A newer version of pre-commit exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@ascillitoe ascillitoe changed the title Update pre-commit requirement from <3.0.0,>=1.20.0 to >=1.20.0,<4.0.0 Update pre-commit requirement, and update .pre-commit-config.yaml Apr 6, 2023
@ascillitoe ascillitoe merged commit d7c2677 into master Apr 27, 2023
@ascillitoe ascillitoe deleted the dependabot/pip/pre-commit-gte-1.20.0-and-lt-4.0.0 branch April 27, 2023 09:01
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants