Record the fact that we're processing the file's results.
(self, filename: str)
| 335 | |
| 336 | @contextlib.contextmanager |
| 337 | def processing_file(self, filename: str) -> Generator[StyleGuide]: |
| 338 | """Record the fact that we're processing the file's results.""" |
| 339 | self.formatter.beginning(filename) |
| 340 | yield self |
| 341 | self.formatter.finished(filename) |
| 342 | |
| 343 | def applies_to(self, filename: str) -> bool: |
| 344 | """Check if this StyleGuide applies to the file. |
no test coverage detected