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

Function _plugin

tests/unit/plugins/reporter_test.py:22–33  ·  view source on GitHub ↗
(name, cls)

Source from the content-addressed store, hash-verified

20@pytest.fixture
21def reporters():
22 def _plugin(name, cls):
23 return finder.LoadedPlugin(
24 finder.Plugin(
25 "flake8",
26 "123",
27 importlib.metadata.EntryPoint(
28 name, f"{cls.__module__}:{cls.__name__}", "flake8.report",
29 ),
30 ),
31 cls,
32 {"options": True},
33 )
34
35 return {
36 "default": _plugin("default", default.Default),

Callers 1

reportersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected