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

Class AfterInitFormatter

tests/unit/test_base_formatter.py:185–190  ·  view source on GitHub ↗

Subclass for testing after_init.

Source from the content-addressed store, hash-verified

183
184
185class AfterInitFormatter(base.BaseFormatter):
186 """Subclass for testing after_init."""
187
188 def after_init(self):
189 """Define method to verify operation."""
190 self.post_initialized = True
191
192
193def test_after_init_is_always_called():

Callers 1

Calls

no outgoing calls

Tested by 1