summaryrefslogtreecommitdiff
path: root/doc/data/messages/t/too-many-return-statements/good.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-05-02 13:39:00 +0200
committerGitHub <noreply@github.com>2023-05-02 11:39:00 +0000
commit87fe5e58c2013b4b1949836c142993464b153237 (patch)
tree8bb8cf54c4fef07c24a773b8f1e9d59aee07e0e6 /doc/data/messages/t/too-many-return-statements/good.py
parent3bb57fa7c9175a0fcc86dc025ffa17c5193920f7 (diff)
downloadpylint-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-return-statements/good.py')
-rw-r--r--doc/data/messages/t/too-many-return-statements/good.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/data/messages/t/too-many-return-statements/good.py b/doc/data/messages/t/too-many-return-statements/good.py
index 0c4032f53..80ae2ac19 100644
--- a/doc/data/messages/t/too-many-return-statements/good.py
+++ b/doc/data/messages/t/too-many-return-statements/good.py
@@ -1,13 +1,13 @@
NUMBERS_TO_STRINGS = {
- 1: 'one',
- 2: 'two',
- 3: 'three',
- 4: 'four',
- 5: 'five',
- 6: 'six',
- 7: 'seven'
+ 1: "one",
+ 2: "two",
+ 3: "three",
+ 4: "four",
+ 5: "five",
+ 6: "six",
+ 7: "seven",
}
def to_string(x):
- return f'This is {NUMBERS_TO_STRINGS.get(x)}.'
+ return f"This is {NUMBERS_TO_STRINGS.get(x)}."