14
0

- update to 2.9.1:

* E275: fix false positive for yield expressions.
  * E221, E222, E223, E224: add support for := operator. PR #1032.
  * Drop python 2.7 / 3.5.
  * E262: consider non-breaking spaces (\xa0) as whitespace. PR #1035.
  * Improve performance of _is_binary_operator. PR #1052.
  * E275: requires whitespace around keywords. PR #1063.
  * Add support for python 3.11. PR #1070.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=19
This commit is contained in:
2022-08-15 11:02:18 +00:00
committed by Git OBS Bridge
parent b039e2fe93
commit 92c364a231
4 changed files with 21 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycodestyle
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,10 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%{?!python_module:%define python_module() python3-%{**}}
%global skip_python2 1
Name: python-pycodestyle
Version: 2.8.0
Version: 2.9.1
Release: 0
Summary: Python style guide checker
License: MIT
@@ -31,14 +31,10 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%ifpython2
Provides: %{oldpython}-pep8 = %{version}
Obsoletes: %{oldpython}-pep8 < %{version}
%endif
Provides: python-pep8 = %{version}
Obsoletes: python-pep8 < %{version}
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(post): update-alternatives
Requires(postun):update-alternatives
%python_subpackages
%description