14
0
forked from pool/python-yapf

- Update to 0.32.0:

- 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.
  - Change tests to support "pytest".
  - Reformat so that "flake8" is happy.
  - 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."
  - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=20
This commit is contained in:
2022-06-04 11:48:13 +00:00
committed by Git OBS Bridge
parent 5b6ff8d07b
commit b30211b28e
4 changed files with 27 additions and 7 deletions

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sat Jun 4 11:45:36 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Update to 0.32.0:
- 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.
- Change tests to support "pytest".
- Reformat so that "flake8" is happy.
- 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."
- 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.
-------------------------------------------------------------------
Sat Jul 17 06:43:41 UTC 2021 - Dirk Müller <dmueller@suse.com>