(config: Config)
| 21 | |
| 22 | @hookimpl(trylast=True) |
| 23 | def pytest_configure(config: Config) -> None: |
| 24 | reporter: TerminalReporter | None = config.pluginmanager.get_plugin( |
| 25 | "terminalreporter" |
| 26 | ) |
| 27 | |
| 28 | if reporter is not None and reporter.isatty() and os.environ.get("TERM") != "dumb": |
| 29 | plugin = TerminalProgressPlugin(reporter) |
| 30 | config.pluginmanager.register(plugin, name="terminalprogress-plugin") |
nothing calls this directly
no test coverage detected