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

Method note

mypyc/errors.py:18–20  ·  view source on GitHub ↗
(self, msg: str, path: str, line: int)

Source from the content-addressed store, hash-verified

16 self.num_errors += 1
17
18 def note(self, msg: str, path: str, line: int) -> None:
19 self._errors.set_file(path, None, self._errors.options)
20 self._errors.report(line, None, msg, severity="note")
21
22 def warning(self, msg: str, path: str, line: int) -> None:
23 self._errors.set_file(path, None, self._errors.options)

Callers 7

visit_index_with_typeMethod · 0.45
visit_reveal_exprMethod · 0.45
check_reveal_importedMethod · 0.45
isinstance_proper_hookFunction · 0.45

Calls 2

set_fileMethod · 0.80
reportMethod · 0.45

Tested by

no test coverage detected