Skip to content

Commit

Permalink
Added singleton-comparison message example
Browse files Browse the repository at this point in the history
Co-authored-by: Vladyslav Krylasov <vladyslav.krylasov@gmail.com>
  • Loading branch information
matusvalo and sprytnyk committed Apr 3, 2022
1 parent c002f59 commit da3ea68
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 da3ea68

Please sign in to comment.