o
    h                     @  s>   d Z ddlmZ ddlZddlmZ ddlmZ dddZdS )z4Module containing the logic for our debugging logic.    )annotationsN)Any)Pluginsversionstrpluginsr   returndict[str, Any]c                 C  s@   t dd | D }| dd |D t t t ddS )z:Generate the information to be printed for the bug report.c                 S  s(   h | ]}|j jd vr|j j|j jfqS )>   localflake8)pluginpackager   ).0loaded r   G/var/www/html/ai/venv/lib/python3.10/site-packages/flake8/main/debug.py	<setcomp>   s
    zinformation.<locals>.<setcomp>c                 S  s   g | ]	\}}||d qS ))r   r   r   )r   r   r   r   r   r   
<listcomp>   s    zinformation.<locals>.<listcomp>)python_implementationpython_versionsystem)r   r   platform)sortedall_pluginsr   r   r   r   )r   r   versionsr   r   r   information
   s   r   )r   r   r   r   r   r	   )	__doc__
__future__r   r   typingr   flake8.plugins.finderr   r   r   r   r   r   <module>   s    