Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/astroid/brain/__pycache__/brain_hypothesis.cpython-39.pyc
Ðазад
a k�h � @ sJ d Z ddlmZ ddlmZ dZed�dd�Zdd � Zed d�dd �Z d S )aV Astroid hook for the Hypothesis library. Without this hook pylint reports no-value-for-parameter for use of strategies defined using the `@hypothesis.strategies.composite` decorator. For example: from hypothesis import strategies as st @st.composite def a_strategy(draw): return draw(st.integers()) a_strategy() � )�AstroidManager)�FunctionDef)Z compositezst.compositezstrategies.compositezhypothesis.strategies.composite)�returnc C sD | j r@| jjr@| jjd jdkr@| j jD ]}|�� tv r( dS q(dS )z:Return whether a decorated node has @st.composite applied.r ZdrawTF)Z decorators�args�name�nodes� as_string�COMPOSITE_NAMES)�nodeZdecorator_attribute� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/astroid/brain/brain_hypothesis.py�is_decorated_with_st_composite s r c C s"