We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
bad-format-character
1 parent f206847 commit dca3a61Copy full SHA for dca3a61
4 files changed
doc/data/messages/b/bad-format-character/bad.py
@@ -0,0 +1 @@
1
+print("%s %z" % ("hello", "world")) # [bad-format-character]
doc/data/messages/b/bad-format-character/details.rst
@@ -0,0 +1,2 @@
+This check is currently only active for "old-style" string formatting as seen in the examples.
2
+See `Issue #6085 <https://github.com/PyCQA/pylint/issues/6085>`_ for more information.
doc/data/messages/b/bad-format-character/good.py
+print("%s %s" % ("hello", "world"))
doc/data/messages/b/bad-format-character/related.rst
+- `Format String Syntax <https://docs.python.org/3/library/string.html#formatstrings>`_
+- `PyFormat <https://pyformat.info/>`_
0 commit comments