Fatal only for an enforced rule; otherwise recorded unless asked for.
(self, line: int, col: int, msg: str, rule: str)
| 1070 | ctx.body_validators.append((node.lineno, node.col_offset, name)) |
| 1071 | |
| 1072 | def _report_input(self, line: int, col: int, msg: str, rule: str) -> None: |
| 1073 | """Fatal only for an enforced rule; otherwise recorded unless asked for.""" |
| 1074 | if rule in ENFORCED or os.environ.get(INPUT_LINT_ALL_ENV): |
| 1075 | self.errors.append((line, col, msg)) |
| 1076 | |
| 1077 | def _exit_input(self) -> None: |
| 1078 | ctx = self._input_stack.pop() |
no test coverage detected