Python

Python

Made by DeepSource

Comparing to literal PYL-R0123

Anti-pattern
Major

Comparing an object to a literal is usually something you do not want to do, since you can compare to a different literal than what was expected altogether.