- update to 3.0.1:

* Detect undefined name in variable defined by an annotated assignment
  * Add a new error for names which are annotated but unused
  * Remove handling of python 2.x ``# type:`` comments.  Use annotations
    instead

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=62
This commit is contained in:
Dirk Mueller 2022-12-15 20:53:12 +00:00 committed by Git OBS Bridge
parent d451b21fe4
commit be8b1f92e1
4 changed files with 14 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:491feb020dca48ccc562a8c0cbe8df07ee13078df59813b83959cbdada312ea3
size 66388

3
pyflakes-3.0.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Dec 15 20:50:51 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 3.0.1:
* Detect undefined name in variable defined by an annotated assignment
* Add a new error for names which are annotated but unused
* Remove handling of python 2.x ``# type:`` comments. Use annotations
instead
-------------------------------------------------------------------
Thu Aug 18 08:27:04 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -18,13 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyflakes
Version: 2.5.0
Version: 3.0.1
Release: 0
Summary: Passive checker of Python programs
License: MIT
Group: Development/Languages/Python
URL: https://github.com/PyCQA/pyflakes
Source: https://files.pythonhosted.org/packages/source/p/pyflakes/pyflakes-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros