
    i                    v    d Z ddlmZ ddlZddlZddlZddlmZmZ ddl	m
Z
 d
dZed	k    r e             dS dS )z$Mypy type checker command line tool.    )annotationsN)mainprocess_options)FancyFormatterreturnNonec                    	 t                       t          j                                         t          j                                         d S # t
          $ rr t          j        t          j        t          j	                  } t          j
        | t          j                                                   t          j        d           Y d S t          $ r t          t          j        dd                    \  }}|j        r0t          j                            t%          j                               t)          t          j        t          j        d          }d}t          j                            |                    |dd                     t          j                                         t          j                                         t          j        d           Y d S t,          $ r}	 d	d l}t          t          j        dd                    \  }}|j                            |d d	d |           n# t,          $ r Y nw xY wt          j                            t%          j                               t          j                                         t          j                                         t          j        d           Y d }~d S d }~ww xY w)
N      )argsFzInterrupted
redT)colorboldr   )r   sysstdoutflushstderrBrokenPipeErrorosopendevnullO_WRONLYdup2filenoexitKeyboardInterruptr   argvshow_tracebackwrite	traceback
format_excr   style	Exceptionmypy.errorserrorsreport_internal_error)r   _options	formattermsgemypys          L/root/projects/qq-shell/venv/lib64/python3.11/site-packages/mypy/__main__.pyconsole_entryr.      s`    

    '"*bk22
**,,--- 	 	 	$#(122,777
7! 	5JY133444"3:sz5AA	
EEEFFF

   	(chqrrl;;;JAwK--aq$HHHH 	 	 	D	
-//000

sF   A
A A8K	DK	K(AH0/K0
H=:K<H==BKK__main__)r   r   )__doc__
__future__r   r   r   r    	mypy.mainr   r   	mypy.utilr   r.   __name__     r-   <module>r7      s    * * " " " " " " 				 



     + + + + + + + + $ $ $ $ $ $! ! ! !H zMOOOOO r6   