negate-not-equal-op (SIM202)
Derived from the flake8-simplify linter.
Fix is always available.
What it does
Checks for negated !=
operators.
Why is this bad?
Negated !=
operators are less readable than ==
operators, as they avoid a
double negation.
Example
Use instead: