1PYFLAKES(1) PYFLAKES(1)
2
3
4
6 pyflakes - simple Python source checker
7
9 pyflakes [file-or-directory ...]
10
12 Pyflakes is a simple program which checks Python source files for
13 errors. It is similar to PyChecker in scope, but differs in that it
14 does not execute the modules to check them. This is both safer and
15 faster, although it does not perform as many checks. Unlike PyLint,
16 Pyflakes checks only for logical errors in programs; it does not
17 perform any checks on style.
18
19 All commandline arguments are checked, which have to be either regular
20 files or directories. If a directory is given, every .py file within
21 will be checked.
22
23 When no commandline arguments are given, data will be read from
24 standard input.
25
27 Found warnings including unused importes, undefined variables and
28 unnecessary reimports, are printed on standard output. Found errors
29 including compile or encoding errors, are printed on standard error.
30
32 The exit status is 0 when no warnings or errors are found. When errors
33 are found the exit status is 2. When warnings (but no errors) are found
34 the exit status is 1.
35
37 This manual page was originally written by Bastian Kleineidam
38 <calvin@debian.org> for the Debian distribution of pyflakes (but can be
39 used by others).
40
41
42
43 10/01/2007 PYFLAKES(1)