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.28.0 to 0.32.0 #122

Merged
merged 2 commits into from
Apr 4, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 4, 2023

Bumps yapf from 0.28.0 to 0.32.0.

Changelog

Sourced from yapf's changelog.

[0.32.0] 2021-12-26

Added

  • Look at the 'pyproject.toml' file to see if it contains ignore file information for YAPF.
  • New entry point yapf_api.FormatTree for formatting lib2to3 concrete syntax trees.
  • Add CI via GitHub Actions.

Changes

  • Change tests to support "pytest".
  • Reformat so that "flake8" is happy.
  • Use GitHub Actions instead of Travis for CI.
  • Clean up the FormatToken interface to limit how much it relies upon the pytree node object.
  • Rename "unwrapped_line" module to "logical_line."
  • Rename "UnwrappedLine" class to "LogicalLine."

Fixed

  • Added pyproject extra to install toml package as an optional dependency.
  • Enable BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF knob for "pep8" style, so method definitions inside a class are surrounded by a single blank line as prescribed by PEP8.
  • Fixed the '...' token to be spaced after a colon.

[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 excluded directories. Prior versions would scan an excluded 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

... (truncated)

Commits
  • d3873c0 Bump version to 0.32.0
  • 373a2b7 Reformatting.
  • 5b75e6f Use "logical line" instead of "unwrapped line"
  • 46180bc Add "start" and "end" properties
  • 42f4da7 Use a set for subtypes.
  • d68b756 Fixup YapfError messages
  • cc7770b Add "splitpenalty" to the format_token repr
  • 76b039c Move subtypes into their own module.
  • 1c73ccc Remove useless a_expr and m_expr subtypes
  • 5bc5a7b Fix up the "name" and "is_docstring" bits of a format_token
  • 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)

Bumps [yapf](https://github.com/google/yapf) from 0.28.0 to 0.32.0.
- [Release notes](https://github.com/google/yapf/releases)
- [Changelog](https://github.com/google/yapf/blob/main/CHANGELOG)
- [Commits](google/yapf@v0.28.0...v0.32.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 Apr 4, 2023
@codecov
Copy link

codecov bot commented Apr 4, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (96f2629) 68.65% compared to head (47ef21d) 68.65%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #122   +/-   ##
========================================
  Coverage    68.65%   68.65%           
========================================
  Files           98       98           
  Lines        13751    13751           
========================================
  Hits          9441     9441           
  Misses        4310     4310           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@PhilippRue PhilippRue merged commit e71917f into develop Apr 4, 2023
@PhilippRue PhilippRue deleted the dependabot/pip/develop/yapf-0.32.0 branch April 4, 2023 13:20
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.

None yet

1 participant