o
    ÕÜÓhW  ã                   @  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
d„ZdS )z&Command-line implementation of flake8.é    )ÚannotationsN)ÚSequence)ÚapplicationÚargvúSequence[str] | NoneÚreturnÚintc                 C  s0   | du rt jdd… } t ¡ }| | ¡ | ¡ S )zöExecute the main bit of the application.

    This handles the creation of an instance of :class:`Application`, runs it,
    and then exits the application.

    :param argv:
        The arguments to be passed to the application for parsing.
    Né   )Úsysr   r   ÚApplicationÚrunÚ	exit_code)r   Úapp© r   úE/var/www/html/ai/venv/lib/python3.10/site-packages/flake8/main/cli.pyÚmain
   s
   	
r   )N)r   r   r   r   )	Ú__doc__Ú
__future__r   r
   Útypingr   Úflake8.mainr   r   r   r   r   r   Ú<module>   s    