pyflakes icon indicating copy to clipboard operation
pyflakes copied to clipboard

A simple program which checks Python source files for errors

Results 74 pyflakes issues
Sort by recently updated
recently updated
newest added

*Original report by [daira](https://launchpad.net/~daira) (@daira?) on [Launchpad](https://bugs.launchpad.net/bugs/1357096):* ------------------------------------ Tahoe-LAFS, a large Python codebase implementing a distributed filesystem, uses a script called "check-miscaptures" ( https://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/misc/coding_tools/check-miscaptures.py) to catch a class of errors...

*Original report by [icordasc](https://launchpad.net/~icordasc) (@sigmavirus24?) on [Launchpad](https://bugs.launchpad.net/bugs/1113692):* ------------------------------------ Given that pyflakes now has an API, it might be worthwhile to add documentation somewhere and since you're already hosting the source...

Previously only unused imports redefined by another imports were reported as RedefinedWhileUnused. A new ImportShadowedByImport message now always reports the re-import except when an import in the doctest scope shadows...

We have a use-case where we sometimes import `Annotated` under a different name (since there is a naming collision with an existing object callled `Annotations` and `Annotated[Annotations, ...]` can be...

The following test seems to fail due to improved error messages in Python 3.13: ```pytb $ tox -e py313 py313: install_deps> python -I -m pip install flake8==6.1.0 .pkg: install_requires> python...

Hello, Reporting here, since flake8 seems to want this sort of problem delegated to you. The following code uses await in a function that is declared without the async keyword,...

I have spent many happy hours studying pyflakes and its tree traversal methods. This issue proposes several possible simplifications. It's fine with me if you aren't interested. **Overview** All the...