MCPcopy Index your code
hub / github.com/python/mypy / note

Method note

mypy/build.py:1573–1580  ·  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

1571 self.errors.report(line, column, msg, code, blocker=blocker, only_once=only_once)
1572
1573 def note(
1574 self, line: int | None, msg: str, code: ErrorCode | None = None, *, only_once: bool = False
1575 ) -> None:
1576 if line is None:
1577 line = column = -1
1578 else:
1579 column = 0
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

Callers 5

__init__Method · 0.95
note_multilineMethod · 0.95
module_not_foundFunction · 0.45
skipping_moduleFunction · 0.45
skipping_ancestorFunction · 0.45

Calls 1

reportMethod · 0.45

Tested by

no test coverage detected