o
    h0                     @  s  d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z
 ddlmZ ddlmZ dd	lmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ  ddlm!Z" ddlm#Z$ ddlm%Z& ddlm'Z( ddlm)Z* ddlm+Z, ddlm-Z. ddlm/Z0 ddlm1Z2 ddlm3Z4 ddlm5Z6 ddlm7Z8 ddlm9Z: ddlm;Z< dd lm=Z> dd!lm?Z@ dd"lmAZB d@d7d8ZCdAd=d>ZDd?S )Bz-Generated using ./bin/gen-pycodestyle-plugin.    )annotations)Any)	Generator)ambiguous_identifier)bare_except)blank_lines)break_after_binary_operator)break_before_binary_operator)comparison_negative)comparison_to_singleton)comparison_type)compound_statements)continued_indentation)explicit_line_join)extraneous_whitespace)imports_on_separate_lines)indentation)maximum_doc_length)maximum_line_length)missing_whitespace) missing_whitespace_after_keyword)module_imports_on_top_of_file)#python_3000_invalid_escape_sequence)tabs_obsolete)tabs_or_spaces)trailing_blank_lines)trailing_whitespace)whitespace_around_comma)whitespace_around_keywords)(whitespace_around_named_parameter_equals)whitespace_around_operator)whitespace_before_comment)whitespace_before_parametersblank_beforer   r   checker_statehang_closingindent_charindent_levelindent_sizeline_numberlineslogical_linemax_doc_lengthnoqaprevious_indent_levelprevious_logical previous_unindented_logical_linetokensverbosereturn&Generator[tuple[int, str], None, None]c              
   c  s   t |	|E dH  t|	|E dH  t|	|||| ||||	E dH  t|	|E dH  t|	|E dH  t|	E dH  t|	|E dH  t|	|E dH  t|	E dH  t	|	|||||||E dH  t
|	|E dH  t|	E dH  t|	E dH  t|	|||||E dH  t|	|
||E dH  t|	|E dH  t|	|E dH  t|	|||E dH  t|	||E dH  t|	E dH  t|	E dH  t|	|E dH  t|	E dH  t|	|E dH  t|	|E dH  dS )zRun pycodestyle logical checks.N)_ambiguous_identifier_bare_except_blank_lines_break_after_binary_operator_break_before_binary_operator_comparison_negative_comparison_to_singleton_comparison_type_compound_statements_continued_indentation_explicit_line_join_extraneous_whitespace_imports_on_separate_lines_indentation_maximum_doc_length_missing_whitespace!_missing_whitespace_after_keyword_module_imports_on_top_of_file$_python_3000_invalid_escape_sequence_whitespace_around_comma_whitespace_around_keywords)_whitespace_around_named_parameter_equals_whitespace_around_operator_whitespace_before_comment_whitespace_before_parameters)r#   r   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2    rN   P/var/www/html/ai/venv/lib/python3.10/site-packages/flake8/plugins/pycodestyle.pypycodestyle_logical(   s4   rP   max_line_length	multilinephysical_linetotal_linesc           	      c  s    t |||||}|dur|V  t|}|dur|V  t|| }|dur'|V  t||||}|dur5|V  t|}|durB|V  dS dS )z Run pycodestyle physical checks.N)_maximum_line_length_tabs_obsolete_tabs_or_spaces_trailing_blank_lines_trailing_whitespace)	r&   r)   r*   rQ   rR   r-   rS   rT   retrN   rN   rO   pycodestyle_physicalW   s"   

r[   N)$r#   r   r   r   r$   r   r%   r   r&   r   r'   r   r(   r   r)   r   r*   r   r+   r   r,   r   r-   r   r.   r   r/   r   r0   r   r1   r   r2   r   r3   r4   )r&   r   r)   r   r*   r   rQ   r   rR   r   r-   r   rS   r   rT   r   r3   r4   )E__doc__
__future__r   typingr   r   pycodestyler   r5   r   r6   r   r7   r   r8   r	   r9   r
   r:   r   r;   r   r<   r   r=   r   r>   r   r?   r   r@   r   rA   r   rB   r   rC   r   rU   r   rD   r   rE   r   rF   r   rG   r   rV   r   rW   r   rX   r   rY   r   rH   r   rI   r   rJ   r    rK   r!   rL   r"   rM   rP   r[   rN   rN   rN   rO   <module>   sH    
/