Server IP : 172.67.214.6 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/flake8/__pycache__/ |
Upload File : |
� � h` � � � d Z ddlZddlZddlmZ ddlmZ ddlmZ ddlm Z ej e� � Zde dee gef d ee ddf fd �Zdee de d ee dee ded ee ddf fd�ZdS )z'Functions related to discovering paths.� N)�Callable)� Generator)�Sequence)�utils�arg� predicate�returnc # � K � || � � rdS t j � | � � r�t j | � � D ]�\ }}}t |� � D ]B}t j � ||� � } ||� � r|� |� � �C|D ]1}t j � ||� � } ||� � s|V � �2��dS | V � dS )ay Generate filenames from an argument. :param arg: Parameter from the command-line. :param predicate: Predicate to use to filter out filenames. If the predicate returns ``True`` we will exclude the filename, otherwise we will yield it. By default, we include every filename generated. :returns: Generator of paths N)�os�path�isdir�walk�tuple�join�remove)r r �root�sub_directories�files� directory�joined�filenames �f/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/flake8/discover_files.py�_filenames_fromr s � � � �"