flake8-aaa
stable

Contents

  • Compatibility list
  • Error codes
  • Options and configuration
  • Directives
  • Test discovery and analysis
  • Command line
  • Release checklist
flake8-aaa
  • Flake8-AAA documentation
  • Edit on GitHub

Flake8-AAA documentation

Overview

Flake8-AAA is a Flake8 plugin that checks Python tests follow the Arrange-Act-Assert pattern.

Please see the README on GitHub for a general introduction to this project and AAA.

Continue here for more detail about using Flake8-AAA.

Contents

  • Compatibility list
    • Python
    • Flake8
    • Yapf
    • Black
    • Pytest
    • Unittest
    • Previous Python versions
  • Error codes
    • AAA01: no Act block found in test
    • AAA02: multiple Act blocks found in test
    • AAA03: expected 1 blank line before Act block, found none
    • AAA04: expected 1 blank line before Assert block, found none
    • AAA05: blank line in block
    • AAA06: comment in Act block
    • AAA99: collision when marking this line as NEW_CODE, was already OLD_CODE
  • Options and configuration
    • Act block style
  • Directives
    • Explicitly marking blocks
    • Disabling Flake8-AAA selectively
  • Test discovery and analysis
    • File filtering
    • Processing
  • Command line
    • Invocation, output and return value
    • Directives and command line
    • Line markers
  • Release checklist
    • Versioning
    • Merge
    • Test PyPI
    • Tag and push
    • Post release checks
Next

© Copyright 2018 - 2020, James Cooke. Revision c9b5e663.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: stable
Versions
latest
stable
v0.15.0
v0.14.1
v0.14.0
v0.13.1
v0.13.0
v0.12.2
v0.12.1
v0.12.0
v0.11.2
v0.11.1
v0.11.0
v0.10.1
v0.10.0
v0.9.0
v0.8.1
v0.8.0
v0.7.2
v0.7.1
v0.7.0
v0.6.2
v0.6.1
v0.6.0
v0.5.2
v0.5.1
v0.5.0
v0.4.0
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds