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

Class FakeFormatter

tests/unit/test_legacy_api.py:77–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 style_guide = api.StyleGuide(app)
76
77 class FakeFormatter(formatter.BaseFormatter):
78 def format(self, *args):
79 raise NotImplementedError
80
81 style_guide.init_report(FakeFormatter)
82 assert isinstance(app.formatter, FakeFormatter)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected