(name, cls)
| 20 | @pytest.fixture |
| 21 | def 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), |