MCPcopy
hub / github.com/python/mypy / note_multiline

Method note_multiline

mypy/build.py:1582–1586  ·  view source on GitHub ↗
(
        self, line: int | None, msg: str, code: ErrorCode | None = None, *, only_once: bool = False
    )

Source from the content-addressed store, hash-verified

1580 self.errors.report(line, column, msg, code, severity="note", only_once=only_once)
1581
1582 def note_multiline(
1583 self, line: int | None, msg: str, code: ErrorCode | None = None, *, only_once: bool = False
1584 ) -> None:
1585 for msg_line in dedent(msg.lstrip("\n")).splitlines():
1586 self.note(line, msg_line, code, only_once=only_once)
1587
1588
1589def deps_to_json(x: dict[str, set[str]]) -> bytes:

Callers 1

load_graphFunction · 0.45

Calls 3

noteMethod · 0.95
splitlinesMethod · 0.80
lstripMethod · 0.80

Tested by

no test coverage detected