summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-02-15 23:04:54 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-02-16 07:53:15 +0100
commit8020641d2b558f21fc28207e8aa8d5dd362f52e6 (patch)
treed162ca6c871edaaef9741da49bbaa5446c0a4121 /doc
parent9552624cb72d721af2217d907f8e96780fc0203f (diff)
downloadpylint-git-8020641d2b558f21fc28207e8aa8d5dd362f52e6.tar.gz
Move from format() to f-string where it makes sense
As we do not maintain python 3.5 it permit to simplify some code
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/exts/pylint_extensions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/exts/pylint_extensions.py b/doc/exts/pylint_extensions.py
index c78eb1f3c..c06c90e08 100755
--- a/doc/exts/pylint_extensions.py
+++ b/doc/exts/pylint_extensions.py
@@ -56,7 +56,7 @@ def builder_inited(app):
)
stream.write("Pylint provides the following optional plugins:\n\n")
for module in modules:
- stream.write("- :ref:`{}`\n".format(module))
+ stream.write(f"- :ref:`{module}`\n")
stream.write("\n")
stream.write(
"You can activate any or all of these extensions "