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

Function count_errors

mypy/suggestions.py:950–951  ·  view source on GitHub ↗
(msgs: list[str])

Source from the content-addressed store, hash-verified

948
949
950def count_errors(msgs: list[str]) -> int:
951 return len([x for x in msgs if " error: " in x])
952
953
954def refine_type(ti: Type, si: Type) -> Type:

Callers 1

find_bestMethod · 0.85

Calls 1

lenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…