§ |<ˆjÄãóx—dZddlmZddlmZdZdefd„Zd„Ze¦«  eee¬¦«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)Ú compositez st.compositezstrategies.compositezhypothesis.strategies.compositeÚreturncó¼—|jrT|jjrH|jjdjdkr-|jjD] }| ¦«t vrdSŒ!dS)z:Return whether a decorated node has @st.composite applied.rÚdrawTF)Ú decoratorsÚargsÚnameÚnodesÚ as_stringÚCOMPOSITE_NAMES)ÚnodeÚdecorator_attributes úp/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/astroid/brain/brain_hypothesis.pyÚis_decorated_with_st_compositersk€à „ð˜4œ9œ>ð¨d¬i¬n¸QÔ.?Ô.DÈÒ.NÐ.NØ#'¤?Ô#8ð ð Ð Ø"×,Ò,Ñ.Ô.µ/ÐAÐAØ�t�tðBà ˆ5ócóT—|jjd=|jjd=|jjd=|S)zÊGiven that the FunctionDef is decorated with @st.composite, remove the first argument (`draw`) - it's always supplied by Hypothesis so we don't need to emit the no-value-for-parameter lint. r)r Ú annotationsÚtype_comment_args)rs rÚ-remove_draw_parameter_from_composite_strategyr's/€ð Œ Œ�qÐØ Œ Ô˜aÐ Ø Œ Ô# AÐ&Ø €Kr)Ú node_classÚ transformÚ predicateN) Ú__doc__Úastroid.managerrÚastroid.nodes.scoped_nodesrrÚboolrrÚregister_transform©rrúr!s ðð ð ð+Ð*Ð*Ð*Ð*Ð*Ø2Ð2Ð2Ð2Ð2Ð2ð€ð¨Dðððððððð€ÑÔ×#Ò#ØØ;Ø,ð$ñôðððr