(self)
| 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)) |