Check for inline mypy: options directive and parse them.
(self, source: str)
| 3281 | self.manager.errors.set_skipped_lines(self.xpath, self.tree.skipped_lines) |
| 3282 | |
| 3283 | def parse_inline_configuration(self, source: str) -> None: |
| 3284 | """Check for inline mypy: options directive and parse them.""" |
| 3285 | flags = get_mypy_comments(source) |
| 3286 | self.apply_inline_configuration(flags) |
| 3287 | |
| 3288 | def apply_inline_configuration(self, flags: list[tuple[int, str]] | None) -> None: |
| 3289 | """Apply inline mypy configuration comments and check for invalid options.""" |
no test coverage detected