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

Method error

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

Source from the content-addressed store, hash-verified

11 self._errors = mypy.errors.Errors(options, hide_error_codes=True)
12
13 def error(self, msg: str, path: str, line: int) -> None:
14 self._errors.set_file(path, None, self._errors.options)
15 self._errors.report(line, None, msg, severity="error")
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)

Callers 1

parse_optionsFunction · 0.45

Calls 2

set_fileMethod · 0.80
reportMethod · 0.45

Tested by

no test coverage detected