| Server IP : 93.115.150.27 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 User : dorfakkh ( 1797) PHP Version : 8.1.34 Disable Function : show_source, system, passthru, exec, popen, proc_open, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/pydocstyle/__pycache__/ |
Upload File : |
�
�|oi � �$ � d Z ddlZddlZddlmZmZmZ ddlZ ej d� � Z ej
d� � j Zde
dee
fd�Zd ee
dee
ee
f fd
�Z e ed� � � � Z e ed� � � � 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 � t j dd| z � � }|�_|� d� � }|� � � D ]7}t � d|� � � � � }|r|V � �6dS dS )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 �f/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pydocstyle/wordlists.py�
load_wordlistr s� � � � � ��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"