Update dependency yapf to v0.40.2 #94

Merged
Brain merged 2 commits from renovate/yapf-0.x into main 2024-08-28 13:46:17 +02:00
Member

This PR contains the following updates:

Package Type Update Change
yapf (changelog) dev-packages minor ==0.31.0 -> ==0.40.2

Release Notes

google/yapf (yapf)

v0.40.2

Compare Source

Changes
  • The verification module has been removed. NOTE: this changes the public APIs
    by removing the "verify" parameter.
  • Changed FORCE_MULTILINE_DICT to override SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES.
  • Adopt pyproject.toml (PEP 517) for build system
Fixed
  • Do not treat variables named match as the match keyword.
  • Fix SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED for one-item argument lists.
  • Fix trailing backslash-newline on Windows when using stdin.

v0.40.1

Compare Source

Fixed
  • Corrected bad distribution v0.40.0 package.

v0.40.0

Compare Source

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.

v0.33.0

Compare Source

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.

v0.32.0

Compare Source

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.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [yapf](https://github.com/google/yapf) ([changelog](https://github.com/google/yapf/blob/main/CHANGELOG.md)) | dev-packages | minor | `==0.31.0` -> `==0.40.2` | --- ### Release Notes <details> <summary>google/yapf (yapf)</summary> ### [`v0.40.2`](https://github.com/google/yapf/blob/HEAD/CHANGELOG.md#0402-2023-09-22) [Compare Source](https://github.com/google/yapf/compare/v0.40.1...v0.40.2) ##### Changes - The verification module has been removed. NOTE: this changes the public APIs by removing the "verify" parameter. - Changed FORCE_MULTILINE_DICT to override SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES. - Adopt pyproject.toml (PEP 517) for build system ##### Fixed - Do not treat variables named `match` as the match keyword. - Fix SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED for one-item argument lists. - Fix trailing backslash-newline on Windows when using stdin. ### [`v0.40.1`](https://github.com/google/yapf/blob/HEAD/CHANGELOG.md#0401-2023-06-20) [Compare Source](https://github.com/google/yapf/compare/v0.40.0...v0.40.1) ##### Fixed - Corrected bad distribution v0.40.0 package. ### [`v0.40.0`](https://github.com/google/yapf/blob/HEAD/CHANGELOG.md#0400-2023-06-13-YANKED---1107) [Compare Source](https://github.com/google/yapf/compare/v0.33.0...v0.40.0) ##### 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. ### [`v0.33.0`](https://github.com/google/yapf/blob/HEAD/CHANGELOG.md#0330-2023-04-18-YANKED---1154) [Compare Source](https://github.com/google/yapf/compare/v0.32.0...v0.33.0) ##### 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. ### [`v0.32.0`](https://github.com/google/yapf/blob/HEAD/CHANGELOG.md#0320-2021-12-26) [Compare Source](https://github.com/google/yapf/compare/v0.31.0...v0.32.0) ##### 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. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate-bot added 1 commit 2024-08-22 17:35:49 +02:00
Update dependency yapf to v0.40.2
All checks were successful
continuous-integration/drone/pr Build is passing
5031770bb1
renovate-bot force-pushed renovate/yapf-0.x from 5031770bb1 to cdb7181f9d 2024-08-22 20:37:14 +02:00 Compare
renovate-bot force-pushed renovate/yapf-0.x from cdb7181f9d to c63b5f60f3 2024-08-23 12:36:57 +02:00 Compare
renovate-bot force-pushed renovate/yapf-0.x from c63b5f60f3 to def29131d6 2024-08-23 15:36:12 +02:00 Compare
renovate-bot force-pushed renovate/yapf-0.x from def29131d6 to 384dd82454 2024-08-27 19:38:02 +02:00 Compare
Brain added 1 commit 2024-08-28 13:44:26 +02:00
Apply yapf and add ignorefile
All checks were successful
continuous-integration/drone/pr Build is passing
2412df4960
Brain merged commit 9ff56f6676 into main 2024-08-28 13:46:17 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kompetenzinventar/ki-backend#94
No description provided.