pyflakes-3.5 man page

python3-pyflakes — simple Python 3 source checker

Synopsis

python3-pyflakes [file-or-directory ...]

Description

python3-pyflakes is a simple program which checks Python source files for errors. It 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.

All commandline arguments are checked, which have to be either regular files or directories. If a directory is given, every .py file within will be checked.

When no commandline arguments are given, data will be read from standard input.

Output

Found warnings including unused imports, undefined variables and unnecessary reimports, are printed on standard output. Found errors including compile or encoding errors, are printed on standard error.

Exit Status

The exit status is 0 when no warnings or errors are found. Otherwise the exit status is 1.

Author

This manual page was originally written by Bastian Kleineidam <calvin@debian.org> for the Debian distribution of pyflakes (but can be used by others).

Info

10/01/2007