DOC update copyright year forever
@@ -16,6 +16,7 @@ import sys
import os
import warnings
import re
+from datetime import datetime
from packaging.version import parse
from pathlib import Path
from io import StringIO
@@ -83,7 +84,9 @@ main_doc = 'contents'
# General information about the project.
project = 'scikit-learn'
-copyright = '2007 - 2020, scikit-learn developers (BSD License)'
+copyright = (
+ f'2007 - {datetime.now().year}, scikit-learn developers (BSD License)'
+)
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
