AlkantarClanX12
Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/dodgy/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/dodgy/__pycache__/run.cpython-311.pyc |
� �܋fS � � � d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlmZ d� dD � � Z d� Z dd�Zd d �Zdd �Z edk r e � � dS dS )� N)�ArgumentParser)� check_filec � � g | ]<}t j |d t j t j j � � iz � � ��=S )�sep)�re�compile�escape�os�pathr ��.0�patts �Z/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/dodgy/run.py� <listcomp>r sJ � � � � �� �J�t�u�b�i����4�4�5�5�6�6� � � � )z(^|%(sep)s)\.[^\.]z^tests?%(sep)s?z%(sep)stests?(%(sep)s|$)z_tests?(%(sep)s|$)c � � g }t j | � � D ]>\ }}}|D ]5}|� t j � ||� � � � �6�?|S �N)r �walk�appendr �join)� start_path� filepaths�root�_�files� file_names r � list_filesr sg � ��I��'�*�-�-� <� <���a��� <� <�I����R�W�\�\�$� �:�:�;�;�;�;� <��r c �B �� g }|pg }d� |D � � }|t z }t | � � }|D ]�}t j � || � � �t �fd�|D � � � � r�>t j |� � }|d �|d � d� � s�v t |� � D ].}|� �|d |d |d d�� � �/��# t $ r-}t d� ||� � � � Y d }~��d }~ww xY w|S ) Nc �6 � g | ]}t j |� � ��S � )r r r s r r zrun_checks.<locals>.<listcomp>"