diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-02-17 23:19:05 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-02-21 19:06:16 +0100 |
commit | 83bd358f5f8361df4c11b9b78acecf0d6224c41b (patch) | |
tree | 6220a172e850be0ae0e30dd3067ed9b6a768337e /doc | |
parent | d0818815b39f99388539314932ba6718f43e58bb (diff) | |
download | astroid-git-83bd358f5f8361df4c11b9b78acecf0d6224c41b.tar.gz |
Move from % syntax to format or f-strings
This is possible with python 3.6
Diffstat (limited to 'doc')
-rw-r--r-- | doc/conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/conf.py b/doc/conf.py index 80c843c1..ee3300ce 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -50,7 +50,7 @@ master_doc = 'index' # General information about the project. project = 'Astroid' current_year = datetime.utcnow().year -copyright = '2003-{year}, Logilab, PyCQA and contributors'.format(year=current_year) +copyright = f'2003-{current_year}, Logilab, PyCQA and contributors' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the |