MCPcopy
hub / github.com/python/mypy / is_errors

Method is_errors

mypy/errors.py:969–971  ·  view source on GitHub ↗

Are there any generated messages?

(self)

Source from the content-addressed store, hash-verified

967 return sum(len(x) for x in self.error_info_map.values())
968
969 def is_errors(self) -> bool:
970 """Are there any generated messages?"""
971 return bool(self.error_info_map)
972
973 def is_blockers(self) -> bool:
974 """Are the any errors that are blockers?"""

Callers 4

apply_field_accessorsMethod · 0.95
test_parserFunction · 0.95
test_parse_errorFunction · 0.95

Calls 1

boolClass · 0.85

Tested by 2

test_parserFunction · 0.76
test_parse_errorFunction · 0.76