Passive checker of Python programs

Edit Package python-pyflakes

Pyflakes is program to analyze Python programs and detect various errors. It works by
parsing the source file, not importing it, so it is safe to use on modules with side
effects. It's also much faster.

Author:
--------
Moe Aboulkheir

Refresh
Refresh
Source Files
Filename Size Changed
pyflakes-2.1.1.tar.gz 0000058072 56.7 KB
python-pyflakes.changes 0000011147 10.9 KB
python-pyflakes.spec 0000002236 2.18 KB
Latest Revision
Gustavo Yokoyama Ribeiro's avatar Gustavo Yokoyama Ribeiro (gyribeiro) committed (revision 2)
- update to version 2.1.1:
  * Fix reported line number for type comment errors
  * Fix typing.overload check to only check imported names

- specfile:
  * update copyright year
  * renamed NEWS.txt -> NEWS.rst
- update to version 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

- update to version 2.0.0:
Comments 0
openSUSE Build Service is sponsored by