ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
suppression_scope_categories.py
Go to the documentation of this file.
1# SPDX-License-Identifier: MIT
2# Copyright (c) 2026 Brighton Sikarskie
3"""Non-authority category vocabulary for checker-constant classification."""
4
5from __future__ import annotations
6
7
8def non_authority_categories() -> dict[str, str]:
9 """Return the reviewed category names and their human-readable meanings."""
10 return {
11 "cli-default": ("Argparse default, environment-variable name, or tool executable name."),
12 "derived-runtime": (
13 "Value computed from the environment (repository root paths, argv, os state) "
14 "carrying no authored policy list."
15 ),
16 "detector-pattern": (
17 "Pattern or token set the checker searches FOR; it is the detection subject, "
18 "guarded by selftest fixtures and baselines, and selects or exempts no input."
19 ),
20 "diagnostic-text": ("Human-facing message, label, or report text used only in output."),
21 "exit-code": ("Process exit status value."),
22 "numeric-format": (
23 "Algorithm-internal numeric constant (index, width, radix, buffer size, parse "
24 "limit) that gates no scan population."
25 ),
26 "parser-token": (
27 "Syntax or structure token used to parse an input format; it neither selects "
28 "inputs nor defines a waiver."
29 ),
30 "selftest-fixture": ("Fixture data consumed only by a selftest."),
31 }