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

Bump yapf from 0.40.2 to 0.43.0 #745

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2024

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 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)

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-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 1, 2024
Copy link

codecov bot commented Dec 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.07%. Comparing base (cbe7dc6) to head (22e7af9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #745   +/-   ##
=======================================
  Coverage   88.07%   88.07%           
=======================================
  Files          92       92           
  Lines       21303    21303           
=======================================
  Hits        18763    18763           
  Misses       2540     2540           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

0 participants