boa-restrictor

Contents:

  • Disclaimer
  • Configuration
  • Python rules
    • Positional arguments not allowed (PBR001)
    • Return type hints required if a return statement exists (PBR002)
    • Avoid nested import of datetime module (PBR003)
    • Use dataclasses with “kw_only” (PBR004)
    • Service classes have one public method called “process” (PBR005)
    • Abstract classes inherit from “abc.ABC” (PBR006)
    • Avoid using type hints in variable names (PBR007)
    • Prohibit usage of loops in unittests (PBR008)
  • Django rules
  • Changelog
boa-restrictor
  • Python rules
  • View page source

Python rules

Contents:

  • Positional arguments not allowed (PBR001)
  • Return type hints required if a return statement exists (PBR002)
  • Avoid nested import of datetime module (PBR003)
  • Use dataclasses with “kw_only” (PBR004)
  • Service classes have one public method called “process” (PBR005)
  • Abstract classes inherit from “abc.ABC” (PBR006)
  • Avoid using type hints in variable names (PBR007)
  • Prohibit usage of loops in unittests (PBR008)
Previous Next

© Copyright 2026, Ambient Innovation: GmbH.

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