(
self,
line: int | None,
msg: str,
code: ErrorCode | None = None,
*,
blocker: bool = False,
only_once: bool = False,
)
| 1556 | return False |
| 1557 | |
| 1558 | def error( |
| 1559 | self, |
| 1560 | line: int | None, |
| 1561 | msg: str, |
| 1562 | code: ErrorCode | None = None, |
| 1563 | *, |
| 1564 | blocker: bool = False, |
| 1565 | only_once: bool = False, |
| 1566 | ) -> None: |
| 1567 | if line is None: |
| 1568 | line = column = -1 |
| 1569 | else: |
| 1570 | column = 0 |
| 1571 | self.errors.report(line, column, msg, code, blocker=blocker, only_once=only_once) |
| 1572 | |
| 1573 | def note( |
| 1574 | self, line: int | None, msg: str, code: ErrorCode | None = None, *, only_once: bool = False |
no test coverage detected