MCPcopy Create free account
hub / github.com/PyCQA/flake8 / processing_file

Method processing_file

src/flake8/style_guide.py:254–258  ·  view source on GitHub ↗

Record the fact that we're processing the file's results.

(self, filename: str)

Source from the content-addressed store, hash-verified

252
253 @contextlib.contextmanager
254 def processing_file(self, filename: str) -> Generator[StyleGuide]:
255 """Record the fact that we're processing the file's results."""
256 guide = self.style_guide_for(filename)
257 with guide.processing_file(filename):
258 yield guide
259
260 def handle_error(
261 self,

Callers

nothing calls this directly

Calls 1

processing_fileMethod · 0.45

Tested by

no test coverage detected