singleton-comparison / C0121#
Comparison %s should be %s
Used when an expression is compared to singleton values like True, False or None.
game_won = True if game_won: print("Game won !")
game_won = True if game_won == True: # [singleton-comparison] print("Game won !")
Created by the basic checker.