- 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 `@`. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=39
This commit is contained in:
parent
1e5acdb11c
commit
e08d3fa7b4
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a01fdd890c6472eebc32e8baf21e29173c35776e765c64cc83ccd09b99dc5399
|
||||
size 79865
|
3
pycodestyle-2.12.0.tar.gz
Normal file
3
pycodestyle-2.12.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c72dccf2bf7ceb603b5bd8b737a511d5241e675e90d4f75bc8a12fe81f24c094
|
||||
size 80226
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,15 +18,17 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pycodestyle
|
||||
Version: 2.11.1
|
||||
Version: 2.12.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
|
||||
@ -49,10 +51,10 @@ to reduce confusion.
|
||||
sed -ri '1s/^#!.*//' pycodestyle.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/pycodestyle
|
||||
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
||||
|
||||
@ -71,6 +73,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}*-info
|
||||
%{python_sitelib}/pycodestyle-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user