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

Function format_error

mypy/test/test_nativeparse.py:114–115  ·  view source on GitHub ↗
(err: ParseError)

Source from the content-addressed store, hash-verified

112
113
114def format_error(err: ParseError) -> str:
115 return f"{err['line']}:{err['column']}: error: {err['message']}"
116
117
118def format_ignore(ignore: tuple[int, list[str]]) -> str:

Callers 2

test_parserFunction · 0.85
test_parser_importsFunction · 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…