flake8-aaa
latest

Contents

  • Compatibility list
  • 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
  • Directives
  • Test discovery and analysis
  • Release checklist
flake8-aaa
  • Error codes
  • Edit on GitHub

Error codes

Note

Flake8-AAA works best with the following Flake8 rules enabled:

  • E303 “too many blank lines”

  • E702 “Multiple statements on one line”

  • AAA01: no Act block found in test
    • Problematic code
    • Correct code 1
    • Correct code 2
    • Rationale
  • AAA02: multiple Act blocks found in test
    • Problematic code
    • Correct code
    • Rationale
  • AAA03: expected 1 blank line before Act block, found none
    • Prerequisites
    • Problematic code
    • Correct code
    • Rationale
  • AAA04: expected 1 blank line before Assert block, found none
    • Prerequisites
    • Problematic code
    • Correct code
    • Rationale
  • AAA05: blank line in block
    • Problematic code
    • Correct code
    • Rationale
  • AAA06: comment in Act block
    • Problematic code
    • Correct code
    • Rationale
    • Exceptions
  • AAA99: collision when marking this line as NEW_CODE, was already OLD_CODE
    • Resolution
Previous Next

© Copyright 2018 - 2023, James Cooke. Revision 92db0799.

Built with Sphinx using a theme provided by Read the Docs.