Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Bump yapf from 0.16.2 to 0.31.0 #77

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

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps yapf from 0.16.2 to 0.31.0.

Changelog

Sourced from yapf's changelog.

[0.31.0] 2021-03-14

Added

  • Renamed 'master' brannch to 'main'.
  • Add 'BLANK_LINES_BETWEEN_TOP_LEVEL_IMPORTS_AND_VARIABLES' to support setting a custom number of blank lines between top-level imports and variable definitions.
  • Ignore end of line # copybara: directives when checking line length.
  • Look at the 'pyproject.toml' file to see if it contains style information for YAPF.

Changed

  • Do not scan exlcuded directories. Prior versions would scan an exluded folder then exclude its contents on a file by file basis. Preventing the folder being scanned is faster.

Fixed

  • Exclude directories on Windows.

[0.30.0] 2020-04-23

Added

  • Added SPACES_AROUND_LIST_DELIMITERS, SPACES_AROUND_DICT_DELIMITERS, and SPACES_AROUND_TUPLE_DELIMITERS to add spaces after the opening- and before the closing-delimiters for lists, dicts, and tuples.
  • Adds FORCE_MULTILINE_DICT knob to ensure dictionaries always split, even when shorter than the max line length.
  • New knob SPACE_INSIDE_BRACKETS to add spaces inside brackets, braces, and parentheses.
  • New knob SPACES_AROUND_SUBSCRIPT_COLON to add spaces around the subscript / slice operator.

Changed

  • Renamed "chromium" style to "yapf". Chromium will now use PEP-8 directly.
  • CONTINUATION_ALIGN_STYLE with FIXED or VALIGN-RIGHT now works with space indentation.

Fixed

  • Honor a disable directive at the end of a multiline comment.
  • Don't require splitting before comments in a list when SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES is set. The knob is meant for values, not comments, which may be associated with the current line.
  • Don't over-indent a parameter list when not needed. But make sure it is properly indented so that it doesn't collide with the lines afterwards.
  • Don't split between two-word comparison operators: "is not", "not in", etc.

[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

... (truncated)

Commits
  • 664e7c0 pyproject.toml support (#893)
  • a53e340 Prevent os.walk() scanning excluded dirs. (#898)
  • 7fed727 Reformat
  • c578dc4 Adds walrus test and python 3.7/3.8 tox definitions (#851)
  • eaacaee chore: replace blacklist with block_list (#863)
  • c4ce158 Ignore end of line # copybara: directives. (#886)
  • 6abab7f Fix directory exclusion on Windows. (#881)
  • 3ee3984 Allow lines parameter to fix whitespace between statements. (#864)
  • 37924d4 Support custom number of blank lines between top-level imports and variable d...
  • f967fd6 extend CONTINUATION_ALIGN_STYLE=FIXED for space indentation (#791)
  • 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 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 Mar 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants