- Update to 3.1.0:
* Drop support for EOL python 3.6 / 3.7
* Remove ``ContinueInFinally`` check (only relevant in python < 3.8)
* Fix forward annotations inside a nested scope
* Produce an error when a definition shadows an unused variable
* Fix accessed global annotation being redefined in a local scope
* Allow redefinition of functions across ``match`` arms
* Fix potential ``None`` for ``lineno`` during tokenization errors
* Add support for PEP 695 and python 3.12
- Switch to pyproject macros.
- Drop patch py3114.patch, included now.
OBS-URL: https://build.opensuse.org/request/show/1102806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=37
* Drop support for EOL python 3.6 / 3.7
* Remove ``ContinueInFinally`` check (only relevant in python < 3.8)
* Fix forward annotations inside a nested scope
* Produce an error when a definition shadows an unused variable
* Fix accessed global annotation being redefined in a local scope
* Allow redefinition of functions across ``match`` arms
* Fix potential ``None`` for ``lineno`` during tokenization errors
* Add support for PEP 695 and python 3.12
- Switch to pyproject macros.
- Drop patch py3114.patch, included now.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=69
- update to 2.5.0:
* mDrop support for EOL python 2.7 / 3.4 / 3.5
* mIgnore ``__all__`` when not directly assigned
* mHandle ``TypeAlias`` annotations as aliases (PEP 613)
* mAssignment expressions (``:=``) target outer scope in comprehensions
* mAdd support for new python 3.11 syntax
* mUnify output so it is always ``filename:lineno:col: message``
* mProperly report ``SyntaxError`` from stdin in python < 3.9
* mFix offsets of ``SyntaxError``s in pypy
OBS-URL: https://build.opensuse.org/request/show/997690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=29
* mDrop support for EOL python 2.7 / 3.4 / 3.5
* mIgnore ``__all__`` when not directly assigned
* mHandle ``TypeAlias`` annotations as aliases (PEP 613)
* mAssignment expressions (``:=``) target outer scope in comprehensions
* mAdd support for new python 3.11 syntax
* mUnify output so it is always ``filename:lineno:col: message``
* mProperly report ``SyntaxError`` from stdin in python < 3.9
* mFix offsets of ``SyntaxError``s in pypy
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=56
- 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
- uninstall alternatives in %postun
- update for singlespec
- update to version 1.5.0:
* Enable support for PEP 526 annotated assignments
- update to version 1.4.0:
* Change formatting of ImportStarMessage to be consistent with
other errors
* Support PEP 498 "f-strings"
- update to version 1.3.0:
* Fix PyPy2 Windows IntegrationTests
* Check for duplicate dictionary keys
* Fix TestMain tests on Windows
* Fix "continue" and "break" checks ignoring py3.5's "async for" loop
- update to version 1.2.3:
* Fix TypeError when processing relative imports
- update to version 1.2.2:
* Avoid traceback when exception is del-ed in except
- update to version 1.2.1:
* Fix false RedefinedWhileUnesed for submodule imports
- update to version 1.2.0:
* Warn against reusing exception names after the except: block on
Python 3
* Improve the error messages for imports
- update to version 1.1.0:
* main() can now accept arguments
* the matrix-multiplication operator (@) is now supported
OBS-URL: https://build.opensuse.org/request/show/483391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=19
- update to version 1.5.0:
* Enable support for PEP 526 annotated assignments
- update to version 1.4.0:
* Change formatting of ImportStarMessage to be consistent with
other errors
* Support PEP 498 "f-strings"
- update to version 1.3.0:
* Fix PyPy2 Windows IntegrationTests
* Check for duplicate dictionary keys
* Fix TestMain tests on Windows
* Fix "continue" and "break" checks ignoring py3.5's "async for" loop
- update to version 1.2.3:
* Fix TypeError when processing relative imports
- update to version 1.2.2:
* Avoid traceback when exception is del-ed in except
- update to version 1.2.1:
* Fix false RedefinedWhileUnesed for submodule imports
- update to version 1.2.0:
* Warn against reusing exception names after the except: block on
Python 3
* Improve the error messages for imports
- update to version 1.1.0:
* main() can now accept arguments
* the matrix-multiplication operator (@) is now supported
* imports from __future__ are checked for validity
* fixes to doctest scope testing
* asserts against a tuple (which are always true) now emits a warning
* "import *" not at the module level on python3 emits a warning
OBS-URL: https://build.opensuse.org/request/show/457354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=34