Retrieve the line which will be used to determine noqa.
(self, line_number: int)
| 313 | return ret |
| 314 | |
| 315 | def noqa_line_for(self, line_number: int) -> str | None: |
| 316 | """Retrieve the line which will be used to determine noqa.""" |
| 317 | # NOTE(sigmavirus24): Some plugins choose to report errors for empty |
| 318 | # files on Line 1. In those cases, we shouldn't bother trying to |
| 319 | # retrieve a physical line (since none exist). |
| 320 | return self._noqa_line_mapping.get(line_number) |
| 321 | |
| 322 | def next_line(self) -> str: |
| 323 | """Get the next line from the list.""" |
no outgoing calls