????

Your IP : 3.149.235.7


Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/pydocstyle/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/pydocstyle/__pycache__/wordlists.cpython-311.pyc

�

�܋f��$�dZddlZddlZddlmZmZmZddlZejd��Z	ej
d��jZde
dee
fd�Zd	ee
dee
ee
ffd
�Zeed����Zeed����ZdS)
z�Wordlists loaded from package data.

We can treat them as part of the code for the imperative mood check, and
therefore we load them at import time, rather than on-demand.

�N)�Dict�Iterator�Setz\s*#.*�english�name�returnc#�K�tjdd|z��}|�_|�d��}|���D]7}t�d|�����}|r|V��6dSdS)z�Iterate over lines of a wordlist data file.

    `name` should be the name of a package data file within the data/
    directory.

    Whitespace and #-prefixed comments are stripped from each line.

    �
pydocstylezdata/N�utf8�)�pkgutil�get_data�decode�
splitlines�
COMMENT_RE�sub�strip)r�data�text�lines    �e/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pydocstyle/wordlists.py�
load_wordlistrs�������L�'�D�.�9�9�D����{�{�6�"�"���O�O�%�%�	�	�D��>�>�"�d�+�+�1�1�3�3�D��
��
�
�
����	�	��wordlistc��i}|D]D}|�t|��t�����|���E|S)zACreate a dictionary mapping stemmed verbs to the imperative form.)�
setdefault�stem�set�add)r�imperative_verbs�words   r�make_imperative_verbs_dictr"&sP�����A�A���#�#�D��J�J����6�6�:�:�4�@�@�@�@��rzimperatives.txtzimperatives_blacklist.txt)�__doc__r
�re�typingrrr�snowballstemmer�compiler�stemmer�stemWordr�strrr"�IMPERATIVE_VERBSr�IMPERATIVE_BLACKLIST�rr�<module>r.s��������	�	�	�	�&�&�&�&�&�&�&�&�&�&������R�Z�	�
"�
"�
����y�)�)�2�������
�����$��#���4��S��X�
�;N�����.�-�m�m�<M�.N�.N�O�O���s�=�=�)D�E�E�F�F���r