blob: 5c1907e7d7773cc91c9fd8387dce5628a596280d (
plain)
1
2
3
4
5
6
7
8
9
|
from typing import TypedDict, NotRequired, List, Any, Literal, Optional
LintSeverity = Literal["error", "warning", "informational", "pedantic", "spelling"]
class DiagnosticData(TypedDict):
quickfixes: NotRequired[Optional[List[Any]]]
lint_severity: NotRequired[Optional[LintSeverity]]
report_for_related_file: NotRequired[str]
|