Accepting request 805797 from devel:languages:python
- specfile: * update copyright year - update to version 2.2.0: * Include column information in error messages * Fix @overload detection with other decorators and in non-global scopes * Fix return-type annotation being a class member * Fix assignment to _ in doctests with existing _ name * Namespace attributes which are attached to ast nodes with _pyflakes_ to avoid conflicts with other libraries (notably bandit) * Add check for f-strings without placeholders * Add check for unused/extra/invalid 'string literal'.format(...) * Add check for unused/extra/invalid 'string literal % ... * Improve python shebang detection * Allow type ignore to be followed by a code # type: ignore[attr-defined] * Add support for assignment expressions (PEP 572) * Support @overload detection from typing_extensions as well * Fix @overload detection for async functions * Allow continue inside finally in python 3.8+ * Fix handling of annotations in positional-only arguments * Make pyflakes more resistant to future syntax additions * Fix false positives in partially quoted type annotations * Warn about is comparison to tuples * Fix Checker usage with async function subtrees * Add check for if of non-empty tuple * Switch from optparse to argparse * Fix false positives in partially quoted type annotations in unusual contexts * Be more cautious when identifying Literal type expressions OBS-URL: https://build.opensuse.org/request/show/805797 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=25
This commit is contained in:
commit
37961babf6
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d976835886f8c5b31d47970ed689944a0262b5f3afa00a5a7b4dc81e5449f8a2
|
||||
size 58072
|
3
pyflakes-2.2.0.tar.gz
Normal file
3
pyflakes-2.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:35b2d75ee967ea93b55750aa9edbbf72813e06a66ba54438df2cfac9e3c27fc8
|
||||
size 65307
|
@ -1,3 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 24 15:21:20 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- specfile:
|
||||
* update copyright year
|
||||
|
||||
- update to version 2.2.0:
|
||||
* Include column information in error messages
|
||||
* Fix @overload detection with other decorators and in non-global
|
||||
scopes
|
||||
* Fix return-type annotation being a class member
|
||||
* Fix assignment to _ in doctests with existing _ name
|
||||
* Namespace attributes which are attached to ast nodes with
|
||||
_pyflakes_ to avoid conflicts with other libraries (notably
|
||||
bandit)
|
||||
* Add check for f-strings without placeholders
|
||||
* Add check for unused/extra/invalid 'string literal'.format(...)
|
||||
* Add check for unused/extra/invalid 'string literal % ...
|
||||
* Improve python shebang detection
|
||||
* Allow type ignore to be followed by a code # type:
|
||||
ignore[attr-defined]
|
||||
* Add support for assignment expressions (PEP 572)
|
||||
* Support @overload detection from typing_extensions as well
|
||||
* Fix @overload detection for async functions
|
||||
* Allow continue inside finally in python 3.8+
|
||||
* Fix handling of annotations in positional-only arguments
|
||||
* Make pyflakes more resistant to future syntax additions
|
||||
* Fix false positives in partially quoted type annotations
|
||||
* Warn about is comparison to tuples
|
||||
* Fix Checker usage with async function subtrees
|
||||
* Add check for if of non-empty tuple
|
||||
* Switch from optparse to argparse
|
||||
* Fix false positives in partially quoted type annotations in
|
||||
unusual contexts
|
||||
* Be more cautious when identifying Literal type expressions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 2 04:51:41 UTC 2019 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyflakes
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-pyflakes
|
||||
Version: 2.1.1
|
||||
Version: 2.2.0
|
||||
Release: 0
|
||||
Summary: Passive checker of Python programs
|
||||
License: MIT
|
||||
|
Loading…
x
Reference in New Issue
Block a user