Expand description
ty diagnostics (PSP-10 system 26): the primary Python sensor.
The LSP observation is primary; when it is empty the runtime falls back
to ty check --output-format concise, whose versioned text format is
path:line:col: error[rule] message (sampled against ty 0.0.x). The
PSP claims no JSON format for ty.
Constants§
- PARSER_
ID - Text-parser identity; enters the sensor fingerprint.
Functions§
- from_
lsp_ diagnostics - Preserve LSP
textDocument/publishDiagnosticsitems as structured diagnostics.itemsis the LSPdiagnosticsarray;paththe document they belong to. - parse_
check_ text - Parse
ty check --output-format conciselines.