flake8-aaa¶
Extends Flake8 to check Python tests follow the Arrange Act Assert pattern.
Installation¶
Install with pip
:
$ pip install flake8-aaa
Check that flake8-aaa
was installed correctly by asking flake8
for its
version signature:
$ flake8 --version
3.5.0 (aaa: 0.4.0, mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0) CPython 3.5.2 on Linux
The aaa: 0.4.0
part of that output tells you flake8
found this plugin.
There is more information on invoking flake8
on the Invoking Flake8 documentation page.
Resources¶
Tested on Pythons 2.7 and 3.6.