MCPcopy
hub / github.com/getsentry/sentry / run

Method run

tools/flake8_plugin.py:361–367  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

359 self.filename = filename
360
361 def run(self) -> Generator[tuple[int, int, str, type[Any]]]:
362 cy = datetime.now(timezone.utc).year
363 visitor = SentryVisitor(self.filename, cy, _s015_msg())
364 visitor.visit(self.tree)
365
366 for e in visitor.errors:
367 yield (*e, type(self))

Callers 4

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 5

SentryVisitorClass · 0.85
_s015_msgFunction · 0.85
typeFunction · 0.85
nowMethod · 0.45
visitMethod · 0.45

Tested by

no test coverage detected