API reference
python:irx:irx.diagnostics.DiagnosticCodeFormatter
class DiagnosticCodeFormatter
DiagnosticCodeFormatter(prefix: str = DEFAULT_DIAGNOSTIC_CODE_PREFIX)
Source: packages/irx/src/irx/diagnostics.py:25
Render logical diagnostic identifiers with one configurable prefix.
Attributes
- prefix — Type: str
Methods
-
__init__ —
-
__post_init__ — Normalize the configured diagnostic prefix.
-
format — Format one logical diagnostic identifier.
Attributes
- prefix —