Buildbot no longer supports Python 2.7 on the Buildbot master.
- class buildbot.steps.python.PyFlakes¶
PyFlakes is a tool to perform basic static analysis of Python code to look for simple errors, like missing imports and references of undefined names. It is like a fast and simple form of the C lint program. Other tools (like pychecker) provide more detailed results but take longer to run.
PyFlakes step will run pyflakes and count the various kinds of errors and warnings it detects.
You must supply the command line to be used.
The default is
make pyflakes, which assumes you have a top-level
Makefile with a
You might want to use something like
pyflakes . or
from buildbot.plugins import steps f.addStep(steps.PyFlakes(command=["pyflakes", "src"]))