MCPcopy Create free account
hub / github.com/getsentry/sentry / _report_input

Method _report_input

tools/flake8_plugin.py:1072–1075  ·  view source on GitHub ↗

Fatal only for an enforced rule; otherwise recorded unless asked for.

(self, line: int, col: int, msg: str, rule: str)

Source from the content-addressed store, hash-verified

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

Callers 1

_exit_inputMethod · 0.95

Calls 2

getMethod · 0.65
appendMethod · 0.65

Tested by

no test coverage detected