§ *dé4ÿâ•ã óx — d Z ddlmZ ddlmZ ddlmZmZmZ ddl m Z mZ dZ G d„ de j ¦ « Zdd „ZdS )a All alphanumeric unicode character are allowed in Python but due to similarities in how they look they can be confused. See: https://peps.python.org/pep-0672/#confusing-features The following checkers are intended to make users are aware of these issues. é )Úannotations)Únodes)Ú constantsÚ interfacesÚlint)Úbase_checkerÚutilsac Used when the name contains at least one non-ASCII unicode character. See https://peps.python.org/pep-0672/#confusing-features for a background why this could be bad. If your programming guideline defines that you are programming in English, then there should be no need for non ASCII characters in Python Names. If not you can simply disable this check.c óð — e Zd ZdZddeddgifdddefd œZd Zd(d„Z ej dd¦ « d)d„¦ « Z ej d¦ « d*d„¦ « ZeZ ej d¦ « d+d„¦ « Z ej d¦ « d,d„¦ « Z ej d¦ « d-d„¦ « Zd.d „Z ej dd¦ « d/d"„¦ « Z ej dd¦ « d0d$„¦ « Z ej d¦ « d1d&„¦ « Zd'S )2ÚNonAsciiNameCheckerz˜A strict name checker only allowing ASCII. Note: This check only checks Names, so it ignores the content of docstrings and comments! zB%s name "%s" contains a non-ASCII character, consider renaming it.únon-ascii-nameÚ old_names)ÚC0144zold-non-ascii-name)z,%s name "%s" contains a non-ASCII character.únon-ascii-file-namezUnder python 3.5, PEP 3131 allows non-ascii identifiers, but not non-ascii file names.Since Python 3.5, even though Python supports UTF-8 files, some editors or tools don't.zP%s name "%s" contains a non-ASCII character, use an ASCII-only alias for import.únon-ascii-module-import)ÚC2401ÚW2402ÚC2403zNonASCII-CheckerÚ node_typeÚstrÚnameú str | NoneÚnodeúnodes.NodeNGÚreturnÚNonec ó — |€dS t |¦ « ¦ « s`t j | }| ¦ « |f}d}|dk rd}n|dk rd}| |||t j ¬¦ « dS dS )z3Check whether a name is using non-ASCII characters.Nr Úfiler Úmoduler )r ÚargsÚ confidence)r Úisasciir ÚHUMAN_READABLE_TYPESÚ capitalizeÚadd_messager ÚHIGH)Úselfr r r Ú type_labelr Úmsgs úq/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pylint/checkers/non_ascii_names.pyÚ_check_namezNonAsciiNameChecker._check_nameB s¦ € ð ˆ<àˆFå4‰yŒy× Ò Ñ"Ô"ð TÝ"Ô7¸ ÔBˆJØ×)Ò)Ñ+Ô+¨TÐ2ˆDà"ˆCð ˜FÒ"Ð"Ø+ؘhÒ&Ð&Ø/à×Ò˜S t°$Å:Ä?ÐÑSÔSÐSÐSÐSð Tð Tó r únodes.Modulec óp — | d|j d¦ « d |¦ « d S )Nr ú.éÿÿÿÿ)r* r Úsplit©r&