Skip to content

build(deps-dev): bump yapf from 0.23.0 to 0.29.0 #7

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

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link

Bumps yapf from 0.23.0 to 0.29.0.

Changelog

Sourced from yapf's changelog.

[0.29.0] 2019-11-28

Added

  • Add the --quiet flag to suppress output. The return code is 1 if there are
    changes, similarly to the --diff flag.
  • Add the indent_closing_brackets option. This is the same as the
    dedent_closing_brackets option except the brackets are indented the same
    as the previous line.

Changed

  • Collect a parameter list into a single object. This allows us to track how a
    parameter list is formatted, keeping state along the way. This helps when
    supporting Python 3 type annotations.
  • Catch and report UnicodeDecodeError exceptions.
  • Improved description of .yapfignore syntax.

Fixed

  • Format subscript lists so that splits are essentially free after a comma.
  • Don't add a space between a string and its subscript.
  • Extend discovery of '.style.yapf' & 'setup.cfg' files to search the root
    directory as well.
  • Make sure we have parameters before we start calculating penalties for
    splitting them.
  • Indicate if a class/function is nested to ensure blank lines when needed.
  • Fix extra indentation in async-for else statement.
  • A parameter list with no elements shouldn't count as exceeding the column
    limit.
  • When splitting all comma separated values, don't treat the ending bracket as
    special.
  • The "no blank lines between nested classes or functions" knob should only
    apply to the first nested class or function, not all of them.

[0.28.0] 2019-07-11

Added

  • New knob SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES is a variation on
    SPLIT_ALL_COMMA_SEPARATED_VALUES in which, if a subexpression with a comma
    fits in its starting line, then the subexpression is not split (thus avoiding
    unnecessary splits).

Changed

  • Set INDENT_DICTIONARY_VALUE for Google style.
  • Set JOIN_MULTIPLE_LINES = False for Google style.

Fixed

  • BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF=False wasn't honored because the
    number of newlines was erroneously calculated beforehand.
  • Lambda expressions shouldn't have an increased split penalty applied to the
    'lambda' keyword. This prevents them from being properly formatted when they're
    arguments to functions.
  • A comment with continuation markers (??) shouldn't mess with the lineno count.
  • Only emit unformatted if the "disable long line" is at the end of the line.
    Otherwise we could mess up formatting for containers which have them
    interspersed with code.
  • Fix a potential race condition by using the correct style for opening a file
    which may not exist.
... (truncated)
Commits
  • 96ec1fb add INDENT_CLOSING_BRACKETS option
  • 1d9db2a Set JOIN_MULTIPLE_LINES = False in google style
  • 5de9ca6 Add knob SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES (#1)
  • 385592e Correctly follow Google style for dict indentation
  • f9a3b35 Merge pull request #689 from apbard/fix_split_before_first
  • a017b73 FIX: avoid split_before_first_argument if set to False
  • c484803 MAINT: remove invalid option LESS for CONTINUATION_ALIGN_STYLE
  • 7903f38 Add knobs to split before an arithmetic operator.
  • a4d0b6d Parse integer lists correctly.
  • 39c111e Merge pull request #668 from yinyin/improve-continuation-valign-option-parsing
  • 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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 2, 2019
@dependabot-preview
Copy link
Author

Superseded by #23.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/yapf-0.29.0 branch April 23, 2020 21:17
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