Extends Flake8 to check that tests follow the Arrange Act Assert pattern
Project description
flake8-aaa
A flake8 plugin for linting Python tests against the rules of the Arrange Act Assert pattern of testing.
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.3.0, mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0) CPython 3.5.2 on Linux
The aaa: 0.3.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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flake8-aaa-0.3.0.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for flake8_aaa-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eff213be8b98192ed8aa835a49cb1f67a233bcf018cd966a5869ba1c6bebfe6d |
|
MD5 | 4d57e1837f5addfdb4de51b4d8adb9fe |
|
BLAKE2b-256 | 491a3448ab8bce8faa1734dbae9ea7efc286494749dc2d1aea84195ad5863310 |