summaryrefslogtreecommitdiff
path: root/doc/data/messages/l/locally-disabled/good.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-02-04 22:46:37 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2023-02-05 20:49:40 +0100
commitd32c2b067701835673750649167b785555edaa7e (patch)
tree2e7a89e6116efd7d76c424f358d35becf70a9f69 /doc/data/messages/l/locally-disabled/good.py
parent76ddd4d0daba17a00a432fb76f0a2c409da5f3c4 (diff)
downloadpylint-git-d32c2b067701835673750649167b785555edaa7e.tar.gz
[locally-disabled] Generate imaginative example without any fruit
Prompt: Same request with 'locally-disabled', please keep it fresh.
Diffstat (limited to 'doc/data/messages/l/locally-disabled/good.py')
-rw-r--r--doc/data/messages/l/locally-disabled/good.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/data/messages/l/locally-disabled/good.py b/doc/data/messages/l/locally-disabled/good.py
index c40beb573..322a78f27 100644
--- a/doc/data/messages/l/locally-disabled/good.py
+++ b/doc/data/messages/l/locally-disabled/good.py
@@ -1 +1,6 @@
-# This is a placeholder for correct code for this message.
+def wizard_spells(spell_book):
+ for spell in spell_book:
+ print(f"Abracadabra! {spell}.")
+
+spell_list = ["Levitation", "Invisibility", "Fireball", "Teleportation"]
+wizard_spells(spell_list)