1PYFLAKES(1) PYFLAKES(1)
2
3
4
6 pyflakes - simple Python 2 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 imports, 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. Otherwise
33 the exit status is 1.
34
36 This manual page was originally written by Bastian Kleineidam
37 <calvin@debian.org> for the Debian distribution of pyflakes (but can be
38 used by others).
39
40
41
42 10/01/2007 PYFLAKES(1)