We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c2349 commit af1dc5aCopy full SHA for af1dc5a
pylint/testutils/output_line.py
@@ -42,14 +42,12 @@ class OutputLine(NamedTuple):
42
def from_msg(cls, msg: Message) -> OutputLine:
43
"""Create an OutputLine from a Pylint Message."""
44
column = cls._get_column(msg.column)
45
- end_line = msg.end_line
46
- end_column = msg.end_column
47
return cls(
48
msg.symbol,
49
msg.line,
50
column,
51
- end_line,
52
- end_column,
+ msg.end_line,
+ msg.end_column,
53
msg.obj or "",
54
msg.msg.replace("\r\n", "\n"),
55
msg.confidence.name,
0 commit comments