관리-도구
편집 파일: not_checker.cpython-311.pyc
� �܋f � �X � d dl Z d dl mZ d dlmZ d dlmZ G d� dej � � ZdS )� N)�nodes)�checkers)�utilsc � � e Zd ZdZddiZdZddddd d ddd �Zej fZ d� dD � � Z ej d� � dej ddfd�� � ZdS )� NotCheckerz�Checks for too many not in comparison expressions. - "not not" should trigger a warning - "not" followed by a comparison should trigger a warning �C0113)zConsider changing "%s" to "%s"�unneeded-notz=Used when a boolean expression contains an unneeded negation.�refactoring�>=�>�<=�<�!=�==znot inzis not)r r r r r r �in�isc � � g | ]}d |� ���S )z builtins.� )�.0�qnames �x/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pylint/checkers/refactoring/not_checker.py� <listcomp>zNotChecker.<listcomp>) s! � �P�P�P�%�-�e�-�-�P�P�P� )�set� frozensetr �node�returnNc �� � |j dk rd S |j }t |t j � � rP|j dk rE| � d||� � � |j � � � f�� � d S t |t j � � �rL|j }t |j � � dk rd S |j d \ }}|| j vrd S |� d�� � }|j dk r|d k rd S t j |� � t j |� � fD ]W}|s d S t || j � � r d S t |t"