]>
crepu.dev Git - config.git/blob - djavu-asus/emacs/elpy/rpc-venv/lib/python3.11/site-packages/flake8/main/debug.py
1 """Module containing the logic for our debugging logic."""
2 from __future__
import annotations
7 from flake8
.plugins
.finder
import Plugins
10 def information(version
: str, plugins
: Plugins
) -> dict[str, Any
]:
11 """Generate the information to be printed for the bug report."""
14 (loaded
.plugin
.package
, loaded
.plugin
.version
)
15 for loaded
in plugins
.all_plugins()
16 if loaded
.plugin
.package
not in {"flake8", "local"}
22 {"plugin": plugin
, "version": version
}
23 for plugin
, version
in versions
26 "python_implementation": platform
.python_implementation(),
27 "python_version": platform
.python_version(),
28 "system": platform
.system(),