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

chore(deps): update pre-commit hook psf/black to v24.3.0 #193

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 15, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change Pending
psf/black repository minor 24.2.0 -> 24.3.0 24.4.0

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

psf/black (psf/black)

v24.3.0

Compare Source

Highlights

This release is a milestone: it fixes Black's first CVE security vulnerability. If you
run Black on untrusted input, or if you habitually put thousands of leading tab
characters in your docstrings, you are strongly encouraged to upgrade immediately to fix
CVE-2024-21503.

This release also fixes a bug in Black's AST safety check that allowed Black to make
incorrect changes to certain f-strings that are valid in Python 3.12 and higher.

Stable style
  • Don't move comments along with delimiters, which could cause crashes (#​4248)
  • Strengthen AST safety check to catch more unsafe changes to strings. Previous versions
    of Black would incorrectly format the contents of certain unusual f-strings containing
    nested strings with the same quote type. Now, Black will crash on such strings until
    support for the new f-string syntax is implemented. (#​4270)
  • Fix a bug where line-ranges exceeding the last code line would not work as expected
    (#​4273)
Performance
  • Fix catastrophic performance on docstrings that contain large numbers of leading tab
    characters. This fixes
    CVE-2024-21503.
    (#​4278)
Documentation
  • Note what happens when --check is used with --quiet (#​4236)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team April 15, 2024 20:53
@renovate renovate bot added auto-merge Bulldozer auto-merge dependencies labels Apr 15, 2024
@renovate renovate bot requested review from a team and MortGron April 15, 2024 20:53
Copy link

codecov bot commented Apr 15, 2024

Codecov Report

Merging #193 (274439b) into main (8431ed0) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #193   +/-   ##
=======================================
  Coverage   91.37%   91.37%           
=======================================
  Files         105      105           
  Lines        3837     3837           
  Branches      832      832           
=======================================
  Hits         3506     3506           
  Misses        206      206           
  Partials      125      125           

Copy link

github-actions bot commented Apr 15, 2024

Unit Test Results

    21 files      21 suites   49m 9s ⏱️
 1 103 tests  1 103 ✅  0 💤 0 ❌
15 651 runs  15 640 ✅ 11 💤 0 ❌

Results for commit 274439b.

♻️ This comment has been updated with latest results.

@renovate renovate bot force-pushed the renovate/psf-black-24.x branch from 0d9b855 to 274439b Compare April 15, 2024 21:07
@renovate renovate bot merged commit e43bba7 into main Apr 16, 2024
32 checks passed
@renovate renovate bot deleted the renovate/psf-black-24.x branch April 16, 2024 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Bulldozer auto-merge dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants