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

Class FormatFormatter

tests/unit/test_base_formatter.py:199–204  ·  view source on GitHub ↗

Subclass for testing format.

Source from the content-addressed store, hash-verified

197
198
199class FormatFormatter(base.BaseFormatter):
200 """Subclass for testing format."""
201
202 def format(self, error):
203 """Define method to verify operation."""
204 return repr(error)
205
206
207def test_handle_formats_the_error():

Callers 1

Calls

no outgoing calls

Tested by 1