Revisions of python-pyflakes

Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1137081 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 38)
- update to 3.2.0:
  * Add support for *T (TypeVarTuple) and **P (ParamSpec) in PEP
    695 annotations.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1102806 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 37)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1043220 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 34)
- update to 3.0.1 (bsc#1206225):
  * 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) committed (revision 33)
https://bugzilla.opensuse.org/show_bug.cgi?id=1206225
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) committed (revision 31)
https://bugzilla.opensuse.org/show_bug.cgi?id=1206225
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 997690 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 29)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 891883 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 27)
- update to 2.3.1:
  - Fix regression in 2.3.0: type annotations no longer redefine imports
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 805797 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 25)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 680749 from John Vandenberg's avatar John Vandenberg (jayvdb) (revision 24)
- update to version 2.1.1:
  * Fix reported line number for type comment errors
  * Fix typing.overload check to only check imported names
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 629206 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 22)
- update to version 2.0.0:
  * Drop support for EOL Python <2.7 and 3.2-3.3
  * Check for unused exception binding in `except:` block
  * Handle string literal type annotations
  * Ignore redefinitions of `_`, unless originally defined by import
  * Support `__class__` without `self` in Python 3
  * Issue an error for `raise NotImplemented(...)`
Displaying revisions 1 - 20 of 39
openSUSE Build Service is sponsored by