Hello community, here is the log from the commit of package python-yapf for openSUSE:Factory checked in at 2020-06-02 14:36:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-yapf (Old) and /work/SRC/openSUSE:Factory/.python-yapf.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-yapf" Tue Jun 2 14:36:00 2020 rev:9 rq:810185 version:0.30.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-yapf/python-yapf.changes 2020-02-05 19:41:50.167271527 +0100 +++ /work/SRC/openSUSE:Factory/.python-yapf.new.3606/python-yapf.changes 2020-06-02 14:36:10.423053469 +0200 @@ -1,0 +2,22 @@ +Fri May 29 09:31:01 UTC 2020 - Marketa Calabkova <[email protected]> + +- 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 + +------------------------------------------------------------------- Old: ---- yapf-0.29.0.tar.gz New: ---- yapf-0.30.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-yapf.spec ++++++ --- /var/tmp/diff_new_pack.Kzzkhc/_old 2020-06-02 14:36:12.767060886 +0200 +++ /var/tmp/diff_new_pack.Kzzkhc/_new 2020-06-02 14:36:12.771060899 +0200 @@ -18,14 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-yapf -Version: 0.29.0 +Version: 0.30.0 Release: 0 Summary: A formatter for Python code License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/google/yapf Source: https://files.pythonhosted.org/packages/source/y/yapf/yapf-%{version}.tar.gz -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -61,7 +61,7 @@ %python_expand rm -r %{buildroot}%{$python_sitelib}/yapftests %check -%python_expand nosetests-%{$python_bin_suffix} -v +%pytest --capture=no %post %python_install_alternative yapf ++++++ yapf-0.29.0.tar.gz -> yapf-0.30.0.tar.gz ++++++ ++++ 4484 lines of diff (skipped)
