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/t/too-many-locals/bad.py | |
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/t/too-many-locals/bad.py')
-rw-r--r-- | doc/data/messages/t/too-many-locals/bad.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/data/messages/t/too-many-locals/bad.py b/doc/data/messages/t/too-many-locals/bad.py index dae054ed8..d2a762b49 100644 --- a/doc/data/messages/t/too-many-locals/bad.py +++ b/doc/data/messages/t/too-many-locals/bad.py @@ -20,7 +20,9 @@ def handle_sweets(infos): # [too-many-locals] # Calculate remaining money remaining_money = money - cost_of_children # Calculate time it took - time_it_took_assuming_parallel_eating = time_to_eat_sweet * number_of_sweet_per_child + time_it_took_assuming_parallel_eating = ( + time_to_eat_sweet * number_of_sweet_per_child + ) print( f"{children} ate {cost_of_children}ยค of sweets in {time_it_took_assuming_parallel_eating}, " f"you still have {remaining_money}" |