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

Method add_errors

mypy/messages.py:209–212  ·  view source on GitHub ↗

Add errors in messages to this builder.

(self, errors: list[ErrorInfo])

Source from the content-addressed store, hash-verified

207 )
208
209 def add_errors(self, errors: list[ErrorInfo]) -> None:
210 """Add errors in messages to this builder."""
211 for info in errors:
212 self.errors.add_error_info(info)
213
214 @contextmanager
215 def disable_type_names(self) -> Iterator[None]:

Callers 8

check_callable_callMethod · 0.80
visit_comparison_exprMethod · 0.80
check_op_reversibleMethod · 0.80
check_opMethod · 0.80
acceptMethod · 0.80
accept_maybe_cacheMethod · 0.80

Calls 1

add_error_infoMethod · 0.80

Tested by

no test coverage detected