X_o t d Z ddlmZ ddlmZmZ ddlmZ ddlm Z G d dej
Zde d d
fdZd
S )zThis is the remnant of the python3 checker.
It was removed because the transition from python 2 to python3 is
behind us, but some checks are still useful in python3 after all.
See https://github.com/PyCQA/pylint/issues/5025
)nodes)checkers
interfaces)utils)PyLinterc ` e Zd ZdZddiZ ej d dej ddfd Z dS )
EqWithoutHasheq-without-hashW1641)z6Implementing __eq__ without also implementing __hash__r
zUsed when a class implements __eq__ but not __hash__. Objects get None as their default __hash__ implementation if they also implement __eq__.nodereturnNc t |j d | D }d|v r(d|vr&| d|t
j d S d S d S )Nc 3 $ K | ]}|j V d S N)name).0xs s/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pylint/extensions/eq_without_hash.py