misplaced-comparison-constant / C2201ΒΆ
Message emitted:
Comparison should be %s
Description:
Used when the constant is placed on the left side of a comparison. It is usually clearer in intent to place it in the right hand side of the comparison.
Created by comparison-placement
checker