not-is-test (E714)#
Derived from the pycodestyle linter.
Autofix is always available.
What it does#
Checks for negative comparison using not {foo} is {bar}
.
Why is this bad?#
Negative comparison should be done using is not
.
Example#
Use instead: