14
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:
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

@@ -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