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.40.1 #166

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 20, 2023

Bumps yapf from 0.16.2 to 0.40.1.

Changelog

Sourced from yapf's changelog.

[0.40.1] 2023-06-20

Fixed

  • Corrected bad distribution v0.40.0 package.

[0.40.0] 2023-06-13

Added

  • Support for Python 3.11
  • Add the --print-modified flag to print out file names of modified files when running in in-place mode.

Changes

  • Replace the outdated and no-longer-supported lib2to3 with a fork of blib2to3, Black's version of lib2to3.

Removed

  • Support for Python versions < 3.7 are no longer supported.

[0.33.0] 2023-04-18

Added

  • Add a new Python parser to generate logical lines.
  • Added support for # fmt: on and # fmt: off pragmas.

Changes

  • Moved 'pytree' parsing tools into its own subdirectory.
  • Add support for Python 3.10.
  • Format generated dicts with respect to same rules as regular dicts
  • Generalized the ending comma heuristic to subscripts.
  • Supports "pyproject.toml" by default.

Fixed

  • Split line before all comparison operators.

[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.

... (truncated)

Commits
  • 241826e Fix for bad v0.40.0 packaging
  • e58b7c4 Bump version to 0.44.0
  • 382db92 Add tests from resolved issues
  • 85bd59b Add ylib2to3 fork comment
  • 7c408b9 ylib2to3 -- Fork lib2to3 with some blib2to3 backports; add structured pattern...
  • 413117f Actions(deps): Bump actions/setup-python from 4.5.0 to 4.6.1 (#1100)
  • 4c80808 Flake8 fails unnecessarily if run before yapf (#1099)
  • 89cf5c0 Build wheel against py3 only (#1098)
  • b3e21c2 Make CI enforce pre-commit clean code (#1096)
  • 88b72a2 ignore VSCode settings, worktree dir (#1095)
  • 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.16.2 to 0.40.1.
- [Changelog](https://github.com/google/yapf/blob/main/CHANGELOG)
- [Commits](google/yapf@v0.16.2...v0.40.1)

---
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 Jun 20, 2023
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