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

Class AnnotatedSource

mypyc/annotate.py:138–143  ·  view source on GitHub ↗

Annotations for a single compiled source file.

Source from the content-addressed store, hash-verified

136
137
138class AnnotatedSource:
139 """Annotations for a single compiled source file."""
140
141 def __init__(self, path: str, annotations: dict[int, list[Annotation]]) -> None:
142 self.path = path
143 self.annotations = annotations
144
145
146def generate_annotated_html(

Callers 1

generate_annotationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…