diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2023-05-02 13:39:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 11:39:00 +0000 |
commit | 87fe5e58c2013b4b1949836c142993464b153237 (patch) | |
tree | 8bb8cf54c4fef07c24a773b8f1e9d59aee07e0e6 /doc/data/messages/f/forgotten-debug-statement | |
parent | 3bb57fa7c9175a0fcc86dc025ffa17c5193920f7 (diff) | |
download | pylint-git-87fe5e58c2013b4b1949836c142993464b153237.tar.gz |
[doc] Apply black on the documentation where it makes sense (#8650)
Co-authored-by: Daniel van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'doc/data/messages/f/forgotten-debug-statement')
-rw-r--r-- | doc/data/messages/f/forgotten-debug-statement/bad.py | 9 | ||||
-rw-r--r-- | doc/data/messages/f/forgotten-debug-statement/good.py | 7 |
2 files changed, 13 insertions, 3 deletions
diff --git a/doc/data/messages/f/forgotten-debug-statement/bad.py b/doc/data/messages/f/forgotten-debug-statement/bad.py index 6a2a34580..e37185371 100644 --- a/doc/data/messages/f/forgotten-debug-statement/bad.py +++ b/doc/data/messages/f/forgotten-debug-statement/bad.py @@ -3,10 +3,15 @@ import pdb def find_the_treasure(clues): for clue in clues: - pdb.set_trace() # [forgotten-debug-statement] + pdb.set_trace() # [forgotten-debug-statement] if "treasure" in clue: return True return False -treasure_hunt = ["Dead Man's Chest", "X marks the spot", "The treasure is buried near the palm tree"] + +treasure_hunt = [ + "Dead Man's Chest", + "X marks the spot", + "The treasure is buried near the palm tree", +] find_the_treasure(treasure_hunt) diff --git a/doc/data/messages/f/forgotten-debug-statement/good.py b/doc/data/messages/f/forgotten-debug-statement/good.py index 21132cb47..7896ff50e 100644 --- a/doc/data/messages/f/forgotten-debug-statement/good.py +++ b/doc/data/messages/f/forgotten-debug-statement/good.py @@ -4,5 +4,10 @@ def find_the_treasure(clues): return True return False -treasure_hunt = ["Dead Man's Chest", "X marks the spot", "The treasure is buried near the palm tree"] + +treasure_hunt = [ + "Dead Man's Chest", + "X marks the spot", + "The treasure is buried near the palm tree", +] find_the_treasure(treasure_hunt) |