/opt/cloudlinux/venv/lib/python3.11/site-packages/flake8/__pycache__
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/flake8/__pycache__/processor.cpython-311.pyc (21173B)
§
Á¯=›�ÞÍÁã ó, — d Z ddlZddlZddlZddlZddlZddlmZ ddlmZ ddlm Z ddlm
Z
ddlmZ ddlmZ dd l
mZ dd
l
mZ ddlmZ ej e¦ « Z eej ej g¦ « Z eej ej ej ej g¦ « Ze
eeeeef f Zee
e e
e ef Z G d„ d
¦ « Zdej de!fd„Z"dej de!fd„Z#dej de!fd„Z$dededefd„Z%dedefd„Z&dedefd„Z'dS )zFModule containing our file processor that tokenizes a file for checks.é N)ÚAny)ÚDict)Ú Generator)ÚList)ÚOptional)ÚTuple)Údefaults)Úutils)ÚLoadedPluginc ó| — e Zd ZdZdZ d(dedej dee e ddfd„Z
ede ej
fd „¦ « Zej d
eded fd„¦ « Zd)d
„Zd)d„Zd)d„Zdeddfd„Zdeddfd„Zd)d„Zdefd„Zdej fd„Z de!eeef fd„Z"dej
deeddf fd„Z#de$ee%f de$ee&f de$ee&f fd„Z'deej
ddf fd„Z(dedede$eef fd „Z)d
edee fd!„Z*defd"„Z+de e fd#„Z,de e fd$„Z-de e fd%„Z.de%fd&„Z/d)d'„Z0dS )*Ú
FileProcessora> Processes a file and holdes state.
This processes a file by generating tokens, logical and physical lines,
and AST trees. This also provides a way of passing state about the file
to checks expecting that state. Any public attribute on this object can
be requested by a plugin. The known public attributes are:
- :attr:`blank_before`
- :attr:`blank_lines`
- :attr:`checker_state`
- :attr:`indent_char`
- :attr:`indent_level`
- :attr:`line_number`
- :attr:`logical_line`
- :attr:`max_line_length`
- :attr:`max_doc_length`
- :attr:`multiline`
- :attr:`noqa`
- :attr:`previous_indent_level`
- :attr:`previous_logical`
- :attr:`previous_unindented_logical_line`
- :attr:`tokens`
- :attr:`file_tokens`
- :attr:`total_lines`
- :attr:`verbose`
FNÚfilenameÚoptionsÚlinesÚreturnc ó — || _ || _ |�|n| ¦ « | _ | ¦ « d| _ d| _ i | _ i | _ |j | _ d| _
d| _ |j | _ d| _
d| _ |j | _ |j | _ d| _ d| _ d| _ d| _ g | _ t- | j ¦ « | _ |j | _ ddi| _ d| _ d| _ dS )z]Initialice our file processor.
:param filename: Name of the file to process
Nr Ú Fú
logical lines)r r Ú
read_linesr Ú
strip_utf_bomÚblank_beforeÚblank_linesÚ_checker_statesÚ
checker_stateÚhang_closingÚindent_charÚindent_levelÚindent_sizeÚline_numberÚlogical_lineÚmax_line_lengthÚmax_doc_lengthÚ multilineÚprevious_indent_levelÚprevious_logicalÚ previous_unindented_logical_lineÚtokensÚlenÚtotal_linesÚverboseÚ
statisticsÚ_file_tokensÚ_noqa_line_mapping)Úselfr r r s úb/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/flake8/processor.pyÚ__init__zFileProcessor.__init__<