- 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:
Dirk Mueller 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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eddd5847ef438ea1c7870ca7eb78a9d47ce0cdb4851a5523949f2601d0cbbe7f
size 102299

3
pycodestyle-2.9.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c9607871d58c76354b697b42f5d57e1ada7d261c261efac224b664affdc5785
size 102127

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Aug 15 11:00:40 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Thu Nov 4 13:31:35 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>

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