Skip to content

Commit 20c040c

Browse files
authored
Fix copyright formatting (#482)
* fix copyright formatting * alt fix strategy * fix bug * fix bug2
1 parent 734fabf commit 20c040c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import urllib.request
2424
import contextlib
2525
import sys
26-
import datetime
26+
from datetime import date
2727

2828
sys.path.append(os.path.abspath("./_ext"))
2929

@@ -79,7 +79,7 @@
7979

8080
# General information about the project.
8181
project = u'pyOpenMS'
82-
copyright = u'{datetime.now().year}, OpenMS Inc'
82+
copyright = f'{date.today().year}, OpenMS Inc'
8383
author = u'OpenMS Team'
8484

8585
# The version info for the project you're documenting, acts as replacement for

0 commit comments

Comments
 (0)