Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
950
def
count_errors(msgs: list[str]) -> int:
951
return
len([x
for
x in msgs
if
" error: "
in x])
952
953
954
def
refine_type(ti: Type, si: Type) -> Type:
Callers
1
find_best
Method · 0.85
Calls
1
len
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…