Skip to content

Bump yapf from 0.40.2 to 0.43.0#3

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/yapf-0.43.0
Open

Bump yapf from 0.40.2 to 0.43.0#3
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/yapf-0.43.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 5, 2026

Bumps yapf from 0.40.2 to 0.43.0.

Changelog

Sourced from yapf's changelog.

Change Log

All notable changes to this project will be documented in this file.

This project adheres to Semantic Versioning.

(0.41.0) UNRELEASED

Added

  • New DISABLE_SPLIT_LIST_WITH_COMMENT flag. DISABLE_SPLIT_LIST_WITH_COMMENT is a new knob that changes the behavior of splitting a list when a comment is present inside the list.

    Before, we split a list containing a comment just like we split a list containing a trailing comma: Each element goes on its own line (unless DISABLE_ENDING_COMMA_HEURISTIC is true).

    This new flag allows you to control the behavior of a list with a comment separately from the behavior when the list contains a trailing comma.

    This mirrors the behavior of clang-format, and is useful for e.g. forming "logical groups" of elements in a list.

    Without this flag:

    [
      a,
      b,  #
      c
    ]
    

    With this flag:

    [
      a, b,  #
      c
    ]
    

    Before we had one flag that controlled two behaviors.

    • DISABLE_ENDING_COMMA_HEURISTIC=false (default):
      • Split a list that has a trailing comma.
      • Split a list that contains a comment.
    • DISABLE_ENDING_COMMA_HEURISTIC=true:
      • Don't split on trailing comma.
      • Don't split on comment.

    Now we have two flags.

... (truncated)

Commits
  • 5cb90cb Bump version to v0.43.0
  • 29db8b7 Actions(deps): Bump actions/checkout from 4.2.0 to 4.2.1 (#1249)
  • 89d1cd0 Actions(deps): Bump peter-evans/create-pull-request from 6.0.2 to 7.0.5 (#1239)
  • 7e21823 ylib2to3/pgen2/grammar: Fix Grammar.dump for parallel use with Grammar.load (...
  • ed70540 pre-commit: Add hook for yapf-diff (#1246)
  • 0de7684 Actions(deps): Bump actions/checkout from 4.1.2 to 4.2.0 (#1241)
  • b951457 Fix CI (#1242)
  • 1afbf71 Actions(deps): Bump actions/setup-python from 5.0.0 to 5.1.0 (#1218)
  • fcd79bc Actions(deps): Bump peter-evans/create-pull-request from 6.0.0 to 6.0.2 (#1213)
  • 507a900 Actions(deps): Bump actions/checkout from 4.1.1 to 4.1.2 (#1212)
  • 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 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 [yapf](https://github.com/google/yapf) from 0.40.2 to 0.43.0.
- [Changelog](https://github.com/google/yapf/blob/main/CHANGELOG.md)
- [Commits](google/yapf@v0.40.2...v0.43.0)

---
updated-dependencies:
- dependency-name: yapf
  dependency-version: 0.43.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 5, 2026
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants