Jump to >


pyflakes is a static analysis tool that checks Python code for a variety of errors or problems in Python source code.

Supported File Types

The following are supported by this tool:

  • Python: *.py


pyflakes can be installed on most systems by running:

$ pip install pyflakes

It may also be available in your system’s package manager.


Pyflakes Location

If the pyflakes command is in a non-standard location, and can’t be found in Review Bot’s PATH environment variable, then you’ll need to specify the path in the Review Bot worker config file:

exe_paths = {
    'pyflakes': '/path/to/pyflakes',

You will need to restart the Review Bot worker after making this change.

Enabling pyflakes in Review Board

You’ll need to add a Review Bot configuration in Review Board (see Tool Configurations).

There are no configuration options available for this tool.