Your IP : 3.128.205.187
�
��bgS � � � 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.7/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>"