§ >ïÆ; Àxõã ó‚ — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl m Z mZmZ erddl mZ G d„ d e¦ « Zdd„ZdS )zmChecker for features used that are not supported by all python versions indicated by the py-version setting. é )Úannotations)Ú TYPE_CHECKING)Únodes)ÚBaseChecker)Úonly_required_for_messagesÚ safe_inferÚuninferable_final_decorators)ÚPyLinterc ó„ — e Zd ZdZdZdddœZdd„Z ed ¦ « dd„¦ « Z ed ¦ « dd„¦ « Z dd„Z dS )ÚUnsupportedVersionCheckerzpChecker for features that are not supported by all python versions indicated by the py-version setting. Úunsupported_version)zNF-strings are not supported by all versions included in the py-version settingú%using-f-string-in-unsupported-versionz\Used when the py-version set by the user is lower than 3.6 and pylint encounters a f-string.)zPtyping.final is not supported by all versions included in the py-version settingú,using-final-decorator-in-unsupported-versionznUsed when the py-version set by the user is lower than 3.8 and pylint encounters a ``typing.final`` decorator.)ÚW2601ÚW2602ÚreturnÚNonec óT — | j j j }|dk | _ |dk | _ dS )z*Initialize visit variables and statistics.)é é )r é N)ÚlinterÚconfigÚ py_versionÚ _py36_plusÚ _py38_plus)Úselfr s úu/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pylint/checkers/unsupported_version.pyÚopenzUnsupportedVersionChecker.open/ s+ € à”[Ô'Ô2ˆ Ø$¨Ò.ˆŒØ$¨Ò.ˆŒˆˆó r Únodeúnodes.JoinedStrc óF — | j s| d|¬¦ « dS dS )zCheck f-strings.r ©r! N)r Úadd_message©r r! s r Úvisit_joinedstrz)UnsupportedVersionChecker.visit_joinedstr5 s; € ð Œð QØ×ÒÐDÈ4ÐÑPÔPÐPÐPÐPð Qð Qr r únodes.Decoratorsc ó0 — | |¦ « dS )zCheck decorators.N)Ú_check_typing_finalr&