Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pylint/testutils/__pycache__/_run.cpython-39.pyc
Ðазад
a n�h� � @ sd d Z ddlmZ ddlmZ ddlmZ ddlm Z ddl mZ ddd�d d �ZG dd� de�Z d S )zwClasses and functions used to mimic normal pylint runs. This module is considered private and can change at any time. � )�annotations)�Sequence)�Run)�BaseReporter)�PYLINTRCz list[str])�args�returnc C s( t dd� | D ��s$| �ddt� �� | S )zGAdd a default pylintrc with the rcfile option in a list of pylint args.c s s | ]}d |v V qdS )z--rcfileN� )�.0�argr r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/pylint/testutils/_run.py� <genexpr> � z/_add_rcfile_default_pylintrc.<locals>.<genexpr>r z --rcfile=)�any�insertr )r r r r �_add_rcfile_default_pylintrc s r c s. e Zd ZdZdddddd�� fd d � Z� ZS )�_Runa Like Run, but we're using an explicitly set empty pylintrc. We don't want to use the project's pylintrc during tests, because it means that a change in our config could break tests. But we want to see if the changes to the default break tests. NTz Sequence[str]zBaseReporter | None�bool�None)r �reporter�exitr c s t t|��}t� �|||� d S )N)r �list�super�__init__)�selfr r r �� __class__r r r "