Sync from SUSE:SLFO:Main python-pycodestyle revision 087a4c5c22ef621b3db88bb282517d0a
This commit is contained in:
parent
63c848bcff
commit
bea42101c9
BIN
pycodestyle-2.11.0.tar.gz
(Stored with Git LFS)
BIN
pycodestyle-2.11.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
pycodestyle-2.12.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
pycodestyle-2.12.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Tue Aug 8 15:10:24 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pycodestyle
|
# spec file for package python-pycodestyle
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,15 +18,17 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pycodestyle
|
Name: python-pycodestyle
|
||||||
Version: 2.11.0
|
Version: 2.12.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python style guide checker
|
Summary: Python style guide checker
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://pycodestyle.readthedocs.io/
|
URL: https://pycodestyle.readthedocs.io/
|
||||||
Source: https://github.com/PyCQA/pycodestyle/archive/refs/tags/%{version}.tar.gz#/pycodestyle-%{version}.tar.gz
|
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 pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
@ -49,10 +51,10 @@ to reduce confusion.
|
|||||||
sed -ri '1s/^#!.*//' pycodestyle.py
|
sed -ri '1s/^#!.*//' pycodestyle.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pycodestyle
|
%python_clone -a %{buildroot}%{_bindir}/pycodestyle
|
||||||
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
||||||
|
|
||||||
@ -71,6 +73,6 @@ sed -ri '1s/^#!.*//' pycodestyle.py
|
|||||||
%python_alternative %{_bindir}/pycodestyle
|
%python_alternative %{_bindir}/pycodestyle
|
||||||
%{python_sitelib}/pycodestyle.py*
|
%{python_sitelib}/pycodestyle.py*
|
||||||
%pycache_only %{python_sitelib}/__pycache__/pycodestyle.*.py*
|
%pycache_only %{python_sitelib}/__pycache__/pycodestyle.*.py*
|
||||||
%{python_sitelib}/pycodestyle-%{version}*-info
|
%{python_sitelib}/pycodestyle-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user