Fix Ruff warnings in GitHub Actions

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
This commit is contained in:
Ariel Otilibili 2024-11-23 00:22:06 +01:00
parent ce0e3c7945
commit 4345e9877b
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ try:
year = datetime.utcfromtimestamp(int(os.environ['SOURCE_DATE_EPOCH'])).year
except (KeyError, ValueError):
year = datetime.now().year
copyright = '%d, %s' % (year, author)
copyright = f'{year}, {author}'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the