Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pylint/testutils/__pycache__/decorator.cpython-39.pyc
Ðазад
a n�h� � @ sL d dl mZ d dlZd dlmZ d dlmZ d dlmZ ddd�d d �Z dS )� )�annotationsN)�Callable)�Any)�CheckerTestCaser z4Callable[[Callable[..., None]], Callable[..., None]])�kwargs�returnc s ddd�� fdd�}|S )z�Decorator for setting an option on the linter. Passing the args and kwargs back to the test function itself allows this decorator to be used on parameterized test cases. zCallable[..., None])�funr c s( t �� �ddddd�� �fdd��}|S )Nr r �None)�self�args�test_function_kwargsr c sD �� � D ]\}}| j�||� q| j�� � | g|�R i |�� dS )zSet option via argparse.N)�itemsZlinterZ set_option�checker�open)r r r �key�value)r r � ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/pylint/testutils/decorator.py�_forward s z.set_config.<locals>._wrapper.<locals>._forward)� functools�wraps)r r �r )r r �_wrapper s zset_config.<locals>._wrapperr )r r r r r � set_config s r ) � __future__r r �collections.abcr �typingr Z"pylint.testutils.checker_test_caser r r r r r �<module> s
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка