8000 Automate update of year in copyright · python-control/Slycot@396f287 · GitHub
[go: up one dir, main page]

Skip to content

Commit 396f287

Browse files
committed
Automate update of year in copyright
1 parent ead00fe commit 396f287

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
import subprocess
1414
subprocess.run(["python", "check_names.py"])
1515

16+
from datetime import date
1617
project = 'Slycot'
17-
copyright = '2023, Slycot Developers'
18+
copyright = f'{date.today().year}, Slycot Developers'
1819
author = 'Slycot Developers'
1920

2021
# Version information - read from the source code

0 commit comments

Comments
 (0)
0