class documentation
class OutputLine(NamedTuple): (source)
Undocumented
Class Method | from |
Create an OutputLine from a comma separated list (the functional tests expected output .txt files). |
Class Method | from |
Create an OutputLine from a Pylint Message. |
Method | to |
Convert an OutputLine to a tuple of string to be written by a csv-writer. |
Class Variable | column |
Undocumented |
Class Variable | confidence |
Undocumented |
Class Variable | end |
Undocumented |
Class Variable | end |
Undocumented |
Class Variable | lineno |
Undocumented |
Class Variable | msg |
Undocumented |
Class Variable | object |
Undocumented |
Class Variable | symbol |
Undocumented |
Static Method | _get |
Handle column numbers except for python < 3.8. |
Static Method | _get |
Used to make end_line and end_column None as indicated by our version compared to `min_pyver_end_position`. |
Static Method | _value |
Checks if a (stringified) value should be None or a Python integer. |
@classmethod
def from_csv(cls, row:
def from_csv(cls, row:
Sequence[ str]|str
, check_endline: bool
= True) -> OutputLine
:
(source)
¶
Create an OutputLine from a comma separated list (the functional tests expected output .txt files).
Handle column numbers except for python < 3.8. The ast parser in those versions doesn't return them.