1
0

Accepting request 968060 from home:bnavigator:branches:devel:languages:python:numeric

- Update to 1.2.0
  * This release fixes formatting of Python files with non-UNIX
    line endings, adds plugin configuration support and black
    configuration caching to improve performance.
  * Official support for Python 3.10 by @wlcx (PR 31).
  * Correctly format files and ranges with line endings other than
    LF by @ccordoba12 (PR 28).
  * Plugin configuration support and black configuration caching by
    @ccordoba12 and @haplo (PR 26).
  * Fixed PyPI badge in Readme (PR 32).
  * Updated pre-commit hooks' versions (PR 33).

OBS-URL: https://build.opensuse.org/request/show/968060
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-black?expand=0&rev=5
This commit is contained in:
Benjamin Greiner 2022-04-09 21:21:30 +00:00 committed by Git OBS Bridge
parent 6126956443
commit 4a6b3f8dd4
4 changed files with 22 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f665aca0fd1611f9e2a4c1ea09de8809810bbe5013eeee5dfb8796c90a12d4c
size 4367

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:135ed1af3a14463cf5b6bb5fff4f95c6da5a030e9192ab042ca63febcb0af9d4
size 5378

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sat Apr 9 21:17:31 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 1.2.0
* This release fixes formatting of Python files with non-UNIX
line endings, adds plugin configuration support and black
configuration caching to improve performance.
* Official support for Python 3.10 by @wlcx (PR 31).
* Correctly format files and ranges with line endings other than
LF by @ccordoba12 (PR 28).
* Plugin configuration support and black configuration caching by
@ccordoba12 and @haplo (PR 26).
* Fixed PyPI badge in Readme (PR 32).
* Updated pre-commit hooks' versions (PR 33).
-------------------------------------------------------------------
Fri Mar 25 12:39:20 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -19,18 +19,19 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-python-lsp-black
Version: 1.1.0
Version: 1.2.0
Release: 0
Summary: Black plugin for the Python LSP Server
License: MIT
URL: https://github.com/python-lsp/python-lsp-black
Source: https://files.pythonhosted.org/packages/source/p/python-lsp-black/python-lsp-black-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module black >= 19.3b0}
BuildRequires: %{python_module black >= 22.1.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-lsp-server}
BuildRequires: %{python_module python-lsp-server >= 1.4.0}
BuildRequires: %{python_module toml}
# /SECTION
BuildRequires: fdupes