From e3d13c8884d22b80f59518e74ca134cf2ec9028e Mon Sep 17 00:00:00 2001 From: Julthep Nandakwang Date: Sat, 25 Jun 2022 14:54:01 +0700 Subject: Add documentation examples for `logging-format-truncated` (#7040) Co-authored-by: Vladyslav Krylasov --- doc/data/messages/l/logging-format-truncated/bad.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/data/messages/l/logging-format-truncated/bad.py (limited to 'doc/data/messages/l/logging-format-truncated/bad.py') diff --git a/doc/data/messages/l/logging-format-truncated/bad.py b/doc/data/messages/l/logging-format-truncated/bad.py new file mode 100644 index 000000000..9f3f16260 --- /dev/null +++ b/doc/data/messages/l/logging-format-truncated/bad.py @@ -0,0 +1,3 @@ +import logging + +logging.warning("Here is a variable: %", my_var) # [logging-format-truncated] -- cgit v1.2.1