Skip to content

Commit

Permalink
Added singleton-comparison message example
Browse files Browse the repository at this point in the history
  • Loading branch information
matusvalo committed Apr 3, 2022
1 parent c002f59 commit 7690cb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/data/messages/s/singleton-comparison/bad.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
foo = True
if foo == True: # [singleton-comparison]
pass
3 changes: 3 additions & 0 deletions doc/data/messages/s/singleton-comparison/good.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
foo = True
if foo:
pass

0 comments on commit 7690cb7

Please sign in to comment.