o{e d Z ddlmZ ddlmZ ddlZddlmZmZmZ ddl m
Z
mZ ddlm
Z
erddlmZ G d d
e
ZddZdS )z#Variables checkers for Python code. )annotations)
TYPE_CHECKINGN) argumentsbasesnodes)BaseCheckerutils) INFERENCE)PyLinterc e Zd ZdZdZddddddifd Zd
ddd
ddffZ ej dd dd Z ddZ
ddZdS )MethodArgsCheckerzpBaseChecker for method_args.
Checks for
* missing-timeout
* positional-only-arguments-expected
method_args)zTMissing timeout argument for method '%s' can cause your program to hang indefinitelymissing-timeoutzUsed when a method needs a 'timeout' parameter in order to avoid waiting for a long time. If no timeout is specified explicitly the default value is used. For example for 'requests' the program will never time out (i.e. hang indefinitely).zI`%s()` got some positional-only arguments passed as keyword arguments: %s"positional-only-arguments-expectedzEmitted when positional-only arguments have been passed as keyword arguments. Remove the keywords for the affected arguments in the function call.
minversion) )W3101E3102ztimeout-methods)zrequests.api.deletezrequests.api.getzrequests.api.headzrequests.api.optionszrequests.api.patchzrequests.api.postzrequests.api.putzrequests.api.requestcsvz