Ъ7 d Z ddlZn
# e$ r dZY nw xY w ddlZn
# e$ r dZY nw xY wddlmZ dZegegeegdZd ZdS )z)Monkey-patching for pep8 and pycodestyle. N)version)monkey_patch)pep8pycodestyleallc dt j cxk rdk rn nddlm} |j }n'dt j cxk rdk rn n
ddlm} |j }t | D ]}|||_
dS )a Monkey-patch the specified module with the appropriate stdin.
On Flake8 2.5 and lower, Flake8 would would monkey-patch
``pep8.stdin_get_value`` for everyone. This avoided problems where
stdin might be exhausted.
On Flake8 2.6, Flake8 stopped patching ``pep8`` and started
monkey-patching ``pycodestyle.stdin_get_value``.
On Flake8 3.x, Flake8 has no need to monkey patch either ``pep8`` or
``pycodestyle``.
This function accepts three parameters:
- pep8
- pycodestyle
- all
"all" is a special value that will monkey-patch both "pep8" and
"pycodestyle".
:param str which:
The name of the module to patch.
:returns:
Nothing.
:rtype:
NoneType
) r ) r r )r ) r )utilsN)r version_info
flake8.enginer stdin_get_valueflake8r modules)which_pep8r r modules g/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/flake8_polyfill/stdin.pyr r s : %........./////// 7' 0 0 0 0& 0 0 0 0 0 /%. 1 1>!01 1 ) __doc__r ImportErrorr flake8_polyfillr __all__r r r r