forked from pool/python-flake8
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 5a0a6a0aab | |||
| d072610c3a | |||
| 73bc3f8e5b | |||
| 2ab6a6d92b |
BIN
flake8-7.2.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
flake8-7.2.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:71a7d2ec4166f83c6fc66e6465a45c49b4565ee29b69f27b335366ce101d8c2b
|
|
||||||
size 139555
|
|
||||||
@@ -1,37 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Aug 19 13:33:42 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives on SLE-16-based and newer systems only
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Jul 13 12:32:48 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 7.3.0:
|
|
||||||
* pycodestyle has been updated to >= 2.4.0, < 2.5.0
|
|
||||||
* Pyflakes has been updated to >= 2.0.0, < 2.1.0
|
|
||||||
* Add ``paths`` to allow local plugins to exist outside of
|
|
||||||
``sys.path`` (See also :issue:`1067`, :issue:`1237`)
|
|
||||||
* Copy ``setup.cfg`` files to the temporary git hook execution
|
|
||||||
directory (See also :issue:`1299`)
|
|
||||||
* Only skip a file if ``# flake8: noqa`` is on a line by itself
|
|
||||||
* Provide a better user experience for broken plugins
|
|
||||||
* Report ``E902`` when a file passed on the command line does
|
|
||||||
not exist (See also :issue:`645`, :issue:`878`)
|
|
||||||
* Add ``--extend-ignore`` for extending the default ``ignore``
|
|
||||||
instead of overriding it (See also :issue:`1061`, :issue:`1180`)
|
|
||||||
* Respect a formatter's newline setting when printing
|
|
||||||
* Fix leaking of processes in the legacy api
|
|
||||||
* Fix a ``SyntaxWarning`` for an invalid escape sequence
|
|
||||||
* Fix ``DeprecationWarning`` due to import of ``abc`` classes
|
|
||||||
* Defer ``setuptools`` import to improve flake8 startup time
|
|
||||||
* Fix inconsistent line endings in ``FileProcessor.lines``
|
|
||||||
when running under python 3.x
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jul 8 13:27:59 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 15 07:54:43 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
Tue Apr 15 07:54:43 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -16,14 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%else
|
|
||||||
%bcond_with libalternatives
|
|
||||||
%endif
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-flake8
|
Name: python-flake8
|
||||||
Version: 7.3.0
|
Version: 7.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Modular source code checker: pep8, pyflakes and co
|
Summary: Modular source code checker: pep8, pyflakes and co
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -37,24 +32,19 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
|
|
||||||
Requires: (python-mccabe >= 0.7.0 with python-mccabe < 0.8.0)
|
|
||||||
Requires: (python-pycodestyle >= 2.14.0 with python-pycodestyle < 2.15.0)
|
|
||||||
Requires: (python-pyflakes >= 3.4.0 with python-pyflakes < 3.5.0)
|
|
||||||
%if %{with libalternatives}
|
|
||||||
BuildRequires: alts
|
|
||||||
Requires: alts
|
|
||||||
%else
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
%endif
|
|
||||||
BuildArch: noarch
|
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module mccabe >= 0.7.0 with %python-mccabe < 0.8.0}
|
BuildRequires: %{python_module mccabe >= 0.7.0 with %python-mccabe < 0.8.0}
|
||||||
BuildRequires: %{python_module pycodestyle >= 2.14.0 with %python-pycodestyle < 2.15.0}
|
BuildRequires: %{python_module pycodestyle >= 2.13.0 with %python-pycodestyle < 2.14.0}
|
||||||
BuildRequires: %{python_module pyflakes >= 3.4.0 with %python-pyflakes < 3.5.0}
|
BuildRequires: %{python_module pyflakes >= 3.3.0 with %python-pyflakes < 3.4.0}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
|
BuildArch: noarch
|
||||||
|
# https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
|
||||||
|
Requires: (python-mccabe >= 0.7.0 with python-mccabe < 0.8.0)
|
||||||
|
Requires: (python-pycodestyle >= 2.13.0 with python-pycodestyle < 2.14.0)
|
||||||
|
Requires: (python-pyflakes >= 3.3.0 with python-pyflakes < 3.4.0)
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -88,9 +78,6 @@ install -m 0755 -D %{SOURCE2} bin/gen-pycodestyle-plugin
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/flake8
|
%python_clone -a %{buildroot}%{_bindir}/flake8
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%pre
|
|
||||||
%python_libalternatives_reset_alternative flake8
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative flake8
|
%python_install_alternative flake8
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user