Compare commits

1 Commits
main ... 1.1

4 changed files with 17 additions and 49 deletions

BIN
pycodestyle-2.11.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
pycodestyle-2.13.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,33 +1,3 @@
-------------------------------------------------------------------
Tue Apr 15 07:56:06 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 2.13.0:
* Improve performance.
* Drop EOL python 3.8.
* E251: fix false positive for PEP 696 defaults
-------------------------------------------------------------------
Sun Aug 18 16:49:41 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.12.1:
* Properly preserve escaped `{` and `}` in fstrings in logical
lines in 3.12+.
-------------------------------------------------------------------
Mon Jun 17 06:30:52 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.12.0:
* E721: Fix false positive of the form `x.type(...) ==`.
* E502: Fix false-negative with a backslash escape in a comment.
* E204: New lint forbidding whitespace after decorator `@`.
-------------------------------------------------------------------
Mon Nov 27 15:56:39 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.11.1:
* E275: fix false positive with fstrings containing keyword
parts in python 3.12
-------------------------------------------------------------------
Tue Aug 8 15:10:24 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycodestyle
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,19 @@
%{?sle15_python_module_pythons}
Name: python-pycodestyle
Version: 2.13.0
Version: 2.11.0
Release: 0
Summary: Python style guide checker
License: MIT
Group: Development/Languages/Python
URL: https://pycodestyle.readthedocs.io/
Source: https://github.com/PyCQA/pycodestyle/archive/refs/tags/%{version}.tar.gz#/pycodestyle-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
Provides: python-pep8 = %{version}
Obsoletes: python-pep8 < %{version}
BuildArch: noarch
@@ -51,10 +49,10 @@ to reduce confusion.
sed -ri '1s/^#!.*//' pycodestyle.py
%build
%pyproject_wheel
%python_build
%install
%pyproject_install
%python_install
%python_clone -a %{buildroot}%{_bindir}/pycodestyle
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
@@ -73,6 +71,6 @@ sed -ri '1s/^#!.*//' pycodestyle.py
%python_alternative %{_bindir}/pycodestyle
%{python_sitelib}/pycodestyle.py*
%pycache_only %{python_sitelib}/__pycache__/pycodestyle.*.py*
%{python_sitelib}/pycodestyle-%{version}.dist-info
%{python_sitelib}/pycodestyle-%{version}*-info
%changelog