diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-02-15 23:04:54 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-02-16 07:53:15 +0100 |
commit | 8020641d2b558f21fc28207e8aa8d5dd362f52e6 (patch) | |
tree | d162ca6c871edaaef9741da49bbaa5446c0a4121 /doc | |
parent | 9552624cb72d721af2217d907f8e96780fc0203f (diff) | |
download | pylint-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-x | doc/exts/pylint_extensions.py | 2 |
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 " |