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

Class MypyError

mypy/errors.py:1403–1423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1401
1402
1403class MypyError:
1404 def __init__(
1405 self,
1406 file_path: str,
1407 line: int,
1408 column: int,
1409 end_line: int,
1410 end_column: int,
1411 message: str,
1412 errorcode: str | None,
1413 severity: Literal["error", "note"],
1414 ) -> None:
1415 self.file_path = file_path
1416 self.line = line
1417 self.column = column
1418 self.end_line = end_line
1419 self.end_column = end_column
1420 self.message = message
1421 self.errorcode = errorcode
1422 self.severity = severity
1423 self.hints: list[str] = []
1424
1425
1426# (file_path, line, column)

Callers 1

create_errorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…