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/w/while-used/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/w/while-used/bad.py')
-rw-r--r-- | doc/data/messages/w/while-used/bad.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/data/messages/w/while-used/bad.py b/doc/data/messages/w/while-used/bad.py index 8839b1a83..44e8df854 100644 --- a/doc/data/messages/w/while-used/bad.py +++ b/doc/data/messages/w/while-used/bad.py @@ -4,9 +4,9 @@ import requests def fetch_data(): i = 1 while i < 6: # [while-used] - print(f'Attempt {i}...') + print(f"Attempt {i}...") try: - return requests.get('https://example.com/data') + return requests.get("https://example.com/data") except requests.exceptions.RequestException: pass i += 1 |