From 83bd358f5f8361df4c11b9b78acecf0d6224c41b Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Wed, 17 Feb 2021 23:19:05 +0100 Subject: Move from % syntax to format or f-strings This is possible with python 3.6 --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.1