./devel/py-flakes, Passive checker of Python programs

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.3.1, Package name: py38-flakes-2.3.1, Maintainer: kamel.derouiche

Pyflakes is similar to PyChecker in scope, but differs in that it does
not execute the modules to check them. This is both safer and faster,
although it does not perform as many checks. Unlike PyLint, Pyflakes
checks only for logical errors in programs; it does not perform any
checks on style


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 9798bb913a46fc8352d75098d94c837ec3559393
RMD160: 5f679e5efcc429666436c88b61641891cc31cc8a
Filesize: 66.96 KB

Version history: (Expand)


CVS history: (Expand)


   2021-04-05 13:17:09 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flakes: updated to 2.3.1

2.3.1:
- Fix regression in 2.3.0: type annotations no longer redefine imports
   2021-03-15 08:17:15 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flakes: updated to 2.3.0

2.3.0 (2021-03-14)

- Recognize tuple concatenation in ``__all__`` export definitions
- Better support use of annotation-only assignments when using
  ``from __future__ import annotations``
- Recognize special-case typing for ``Annotated``
- Fix undefined name ``__qualname__`` in class scope
- Recognize special-cased typing for ``TypeVar``
- Errors for undefined exports in ``__all__`` are shown in a deterministic order
- Fix false positives in certain typing constructs (``TypeVar``,
  ``NamedTuple``, ``TypedDict``, ``cast``)
   2020-04-10 07:55:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flakes: updated to 2.2.0

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
   2019-03-01 09:49:40 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flakes: updated to 2.1.1

2.1.1:
- Fix reported line number for type comment errors
- Fix typing.overload check to only check imported names
   2019-01-24 10:19:25 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-flakes: updated to 2.1.0

Release 2.1.0
- Allow intentional assignment to variables named _
- Recognize __module__ as a valid name in class scope
- pyflakes.checker.Checker supports checking of partial ast trees
- Detect assign-before-use for local variables which shadow builtin names
- Detect invalid print syntax using >> operator
- Treat async for the same as a for loop for introducing variables
- Add detection for list concatenation in __all__
- Exempt @typing.overload from duplicate function declaration
- Importing a submodule of an as-aliased import-import is marked as
  used
- Report undefined names from __all__ as possibly coming from a *
  import
- Add support for changes in Python 3.8-dev
- Add support for PEP 563 (from __future__ import annotations)
- Include Python version and platform information in pyflakes --version
- Recognize __annotations__ as a valid magic global in Python 3.6+
- Mark names used in PEP 484 # type: ... comments as used
- Add check for use of is operator with str, bytes, and int
  literals
   2018-06-18 13:17:15 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flakes: updated to 2.0.0

2.0.0 (2018-05-20)
- 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(...)
   2018-05-23 19:26:19 by Min Sik Kim | Files touched by this commit (2)
Log message:
devel/py-flakes: Add ALTERNATIVES
   2017-08-04 07:01:57 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
1.6.0:
- Process function scope variable annotations for used names
- Find Python files without extensions by their shebang