summaryrefslogtreecommitdiff
path: root/doc/data/messages/f/f-string-without-interpolation/bad.py
diff options
context:
space:
mode:
authorHarutaka Kawamura <hkawamura0130@gmail.com>2022-06-05 21:11:47 +0900
committerGitHub <noreply@github.com>2022-06-05 14:11:47 +0200
commit312be0d0b8f8c38b33b19e6b83e41de886f154cd (patch)
tree9182287d05f439eb4f72a4bedfaeb6fd5cc9a3e9 /doc/data/messages/f/f-string-without-interpolation/bad.py
parentae875a9410abaab460edfdb28ee2b3616fb1b8ee (diff)
downloadpylint-git-312be0d0b8f8c38b33b19e6b83e41de886f154cd.tar.gz
Add `f-string-without-interpolation` example (#6848)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'doc/data/messages/f/f-string-without-interpolation/bad.py')
-rw-r--r--doc/data/messages/f/f-string-without-interpolation/bad.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/data/messages/f/f-string-without-interpolation/bad.py b/doc/data/messages/f/f-string-without-interpolation/bad.py
new file mode 100644
index 000000000..a31779832
--- /dev/null
+++ b/doc/data/messages/f/f-string-without-interpolation/bad.py
@@ -0,0 +1,3 @@
+x = 1
+y = 2
+print(f"x + y = x + y") # [f-string-without-interpolation]