2023-11-27 21:13:51 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Nov 27 20:10:52 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
|
|
|
|
- update to 0.40.2:
|
|
|
|
* 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
|
|
|
|
* 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.
|
|
|
|
|
2023-09-07 13:15:55 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Sep 7 11:12:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
|
|
|
|
- update to 0.40.1:
|
|
|
|
* Corrected bad distribution v0.40.0 package.
|
|
|
|
* Support for Python 3.11
|
|
|
|
* Add the `--print-modified` flag to print out file names of
|
|
|
|
modified files when running in in-place mode.
|
|
|
|
* Replace the outdated and no-longer-supported lib2to3 with a
|
|
|
|
fork of blib2to3
|
|
|
|
* Support for Python versions < 3.7 are no longer supported.
|
|
|
|
|
2023-04-21 15:27:40 +02:00
|
|
|
-------------------------------------------------------------------
|
2023-05-04 22:04:44 +02:00
|
|
|
Thu May 4 19:56:33 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
|
|
|
|
- update to 0.33.0:
|
|
|
|
* Add a new Python parser to generate logical lines.
|
|
|
|
* Added support for `# fmt: on` and `# fmt: off` pragmas.
|
|
|
|
* 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.
|
|
|
|
* Split line before all comparison operators.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
2023-04-21 15:27:40 +02:00
|
|
|
Fri Apr 21 12:39:06 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
|
|
|
|
- add sle15_python_module_pythons (jsc#PED-68)
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Apr 13 22:46:01 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
|
|
|
|
|
|
|
- Make calling of %{sle15modernpython} optional.
|
|
|
|
|
2022-06-04 13:48:13 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
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.
|
2022-06-04 13:50:10 +02:00
|
|
|
- Fix update-alternatives use.
|
2022-06-04 13:48:13 +02:00
|
|
|
|
2021-07-17 08:46:24 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sat Jul 17 06:43:41 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
|
|
|
|
|
|
|
- update to 0.31.0:
|
|
|
|
- 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.
|
|
|
|
- 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.
|
|
|
|
|
2020-02-04 19:26:12 +01:00
|
|
|
-------------------------------------------------------------------
|
Accepting request 810164 from home:mcalabkova:branches:devel:languages:python
- update to 0.30.0
* 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.
* 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.
* 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.
- Replace nose with pytest
* not WLOG, some tests get skipped because of capturing stdin
OBS-URL: https://build.opensuse.org/request/show/810164
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=17
2020-05-29 13:00:49 +02:00
|
|
|
Fri May 29 09:31:01 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
|
|
|
|
|
|
|
- update to 0.30.0
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
- Replace nose with pytest
|
|
|
|
* not WLOG, some tests get skipped because of capturing stdin
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
2020-02-04 19:26:12 +01:00
|
|
|
Tue Feb 4 15:55:15 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
|
|
|
|
|
|
|
- update to 0.29.0
|
|
|
|
* Add the `--quiet` flag to suppress output. The return code is 1 if there are
|
|
|
|
changes, similarly to the `--diff` flag.
|
|
|
|
* Catch and report `UnicodeDecodeError` exceptions.
|
|
|
|
* Few bugfixes, see CHANGELOG
|
|
|
|
|
2019-07-22 13:28:58 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Jul 22 11:28:10 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
|
|
|
|
- Update to 0.28.0:
|
|
|
|
* Bugfix release, see CHANGELOG
|
|
|
|
|
2019-04-10 08:29:00 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Apr 9 11:51:52 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
|
|
|
|
|
|
|
- update to version 0.27.0
|
|
|
|
* mostly bugfix release, see CHANGELOG for details
|
|
|
|
|
2019-02-14 09:32:53 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Feb 14 04:13:37 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
|
|
|
|
|
|
|
- Remove optional dependency from BuildRequires as no tests fail
|
|
|
|
or are skipped when it is missing.
|
|
|
|
- Remove tests from package
|
|
|
|
- Update to v0.26.0
|
|
|
|
* Many changes to behaviour; see CHANGELOG for details
|
|
|
|
- from v0.25.0
|
|
|
|
* Added `INDENT_BLANK_LINES` knob
|
|
|
|
* Support additional file exclude patterns in .yapfignore file
|
|
|
|
* Correctly determine if a scope is the last in line
|
|
|
|
|
2018-10-24 15:24:49 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Oct 24 13:23:45 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
|
|
|
|
- Version update to 0.24.0:
|
|
|
|
* Support for python 3.7
|
|
|
|
|
2018-08-29 13:40:45 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Aug 29 11:37:58 UTC 2018 - tchvatal@suse.com
|
|
|
|
|
|
|
|
- Version update to 0.23.0:
|
|
|
|
* Many changes to behaviour based on CHANGELOG
|
|
|
|
* Add various documents/license to distributed tarball
|
2023-09-07 13:15:55 +02:00
|
|
|
|
2018-03-04 12:10:46 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sun Mar 4 11:06:23 UTC 2018 - jengelh@inai.de
|
|
|
|
|
|
|
|
- Trim description and focus on the package, not the process.
|
|
|
|
|
2017-11-07 17:19:02 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Oct 20 16:19:54 UTC 2017 - toddrme2178@gmail.com
|
|
|
|
|
|
|
|
- initial version
|