Query module EqualsOrHash

name
Inconsistent equality and hashing
description
Defining equality for a class without also defining hashability (or vice-versa) violates the object model.
kind
problem
tags
reliability correctness external/cwe/cwe-581
problem.severity
warning
sub-severity
high
precision
very-high
id
py/equals-hash-mismatch

Imports

Predicates