mirror of https://github.com/nicolargo/glances.git
Fix Ruff warnings in GitHub Actions
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
This commit is contained in:
parent
ce0e3c7945
commit
4345e9877b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue