
    Piw                    N    d Z ddlmZ ddlmZmZ dgZ eh d          Zdd
Z	dS )z
Pytest command handler for Dippy.

Pytest runs arbitrary Python code, so test execution requires approval.
Safe operations like --version, --help, --collect-only are auto-approved.
    )annotations)ClassificationHandlerContextpytest>   -V-h--co--help	--version--collect-onlyctxr   returnr   c                    | j         }t          |          dk     rt          dd          S |dd         D ]!}|t          v rt          dd|           c S "t          dd          S )	zClassify pytest command.   askz
pytest run)description   Nallowzpytest )tokenslenr   
SAFE_FLAGS)r   r   tokens      1/root/projects/gits/Dippy/src/dippy/cli/pytest.pyclassifyr      s    ZF
6{{Qe>>>>  J JJ!'7H7H7HIIIIII  %\::::    N)r   r   r   r   )
__doc__
__future__r   	dippy.clir   r   COMMANDS	frozensetr   r    r   r   <module>r"      s     # " " " " " 4 4 4 4 4 4 4 4:Y  	 	
; ; ; ; ; ;r   