R0123 literal-comparisonΒΆ
- Message
'Comparison to literal'
- Description
Used when comparing an object to a literal, which is usually what you do not want to do, since you can compare to a different literal than what was expected altogether.
'Comparison to literal'
Used when comparing an object to a literal, which is usually what you do not want to do, since you can compare to a different literal than what was expected altogether.