Go to the source code of this file.
Namespaces | |
| namespace | audit_inline_choices |
Functions | |
| audit_inline_choices._resolve_modules () | |
Expand the module roots into (path, dotted name) pairs. | |
| str | audit_inline_choices.literal_key (str module, list values) |
| Stable identity for one inline choice set. | |
| dict | audit_inline_choices.find_inline_choices () |
| Every inline set of string choices in the CLI package. | |
| list | audit_inline_choices.string_members (collection) |
| The string members of a literal collection, or None if it is not all strings. | |
| int | audit_inline_choices.main () |
| Fail when an inline choice set is neither named nor classified. | |
Variables | |
| audit_inline_choices.REPO_ROOT = Path(__file__).resolve().parents[2] | |
| str | audit_inline_choices.WAIVERS = REPO_ROOT / "tests" / "tooling" / "inline_choice_waivers.json" |
| tuple | audit_inline_choices.MODULE_ROOTS |
| audit_inline_choices.MODULES = tuple(item[0] for item in _resolve_modules()) | |
| audit_inline_choices.MODULE_DOTTED = dict(_resolve_modules()) | |
| tuple | audit_inline_choices.VALID_CLASSIFICATIONS |
| int | audit_inline_choices.MIN_REASON_CHARS = 40 |
| int | audit_inline_choices.MINIMUM_CHOICE_SIZE = 2 |