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

Method total

mypy/report.py:457–458  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

455 self.counts = [0] * len(stats.precision_names)
456
457 def total(self) -> int:
458 return sum(self.counts)
459
460 def attrib(self) -> dict[str, str]:
461 return {name: str(val) for name, val in sorted(zip(stats.precision_names, self.counts))}

Callers 2

on_finishMethod · 0.80
on_finishMethod · 0.80

Calls 1

sumFunction · 0.85

Tested by

no test coverage detected