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

Class ExtensionTestPlugin

tests/integration/test_plugins.py:17–29  ·  view source on GitHub ↗

Extension test plugin.

Source from the content-addressed store, hash-verified

15
16
17class ExtensionTestPlugin:
18 """Extension test plugin."""
19
20 def __init__(self, tree):
21 """Construct an instance of test plugin."""
22
23 def run(self):
24 """Do nothing."""
25
26 @classmethod
27 def add_options(cls, parser):
28 """Register options."""
29 parser.add_option("--anopt")
30
31
32class ReportTestPlugin:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected