Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bump black from 22.12.0 to 24.3.0#3

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dependabot wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromdependabot/pip/black-24.3.0

Conversation

dependabot[bot]
Copy link

@dependabotdependabotbot commented on behalf ofgithubMar 20, 2024

Bumpsblack from 22.12.0 to 24.3.0.

Release notes

Sourced fromblack's releases.

24.3.0

Highlights

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

This release also fixes a bug in Black's AST safety check that allowed Black to makeincorrect 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 versionsof Black would incorrectly format the contents of certain unusual f-strings containingnested strings with the same quote type. Now, Black will crash on such strings untilsupport 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 tabcharacters. This fixesCVE-2024-21503.(#4278)

Documentation

  • Note what happens when--check is used with--quiet (#4236)

24.2.0

Stable style

  • Fixed a bug where comments where mistakenly removed along with redundant parentheses(#4218)

Preview style

  • Move thehug_parens_with_braces_and_square_brackets feature to the unstable styledue to an outstanding crash and proposed formatting tweaks (#4198)
  • Fixed a bug where base expressions caused inconsistent formatting of ** in tenaryexpression (#4154)
  • Checking for newline before adding one on docstring that is almost at the line limit(#4185)
  • Remove redundant parentheses incase statementif guards (#4214).

Configuration

... (truncated)

Changelog

Sourced fromblack's changelog.

24.3.0

Highlights

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

This release also fixes a bug in Black's AST safety check that allowed Black to makeincorrect 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 versionsof Black would incorrectly format the contents of certain unusual f-strings containingnested strings with the same quote type. Now, Black will crash on such strings untilsupport 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 tabcharacters. This fixesCVE-2024-21503.(#4278)

Documentation

  • Note what happens when--check is used with--quiet (#4236)

24.2.0

Stable style

  • Fixed a bug where comments where mistakenly removed along with redundant parentheses(#4218)

Preview style

  • Move thehug_parens_with_braces_and_square_brackets feature to the unstable styledue to an outstanding crash and proposed formatting tweaks (#4198)
  • Fixed a bug where base expressions caused inconsistent formatting of ** in tenaryexpression (#4154)
  • Checking for newline before adding one on docstring that is almost at the line limit(#4185)
  • Remove redundant parentheses incase statementif guards (#4214).

... (truncated)

Commits

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)
    You can disable automated security fix PRs for this repo from theSecurity Alerts page.

Bumps [black](https://github.com/psf/black) from 22.12.0 to 24.3.0.- [Release notes](https://github.com/psf/black/releases)- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)- [Commits](psf/black@22.12.0...24.3.0)---updated-dependencies:- dependency-name: black  dependency-type: direct:development...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbot added the dependenciesPull requests that update a dependency file labelMar 20, 2024
@codecovCodecov
Copy link

codecovbot commentedMar 20, 2024
edited
Loading

Welcome toCodecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
dependenciesPull requests that update a dependency file
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

0 participants

[8]ページ先頭

©2009-2025 Movatter.jp