diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2018-03-11 13:01:50 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-03-11 13:01:50 +0100 |
commit | f567e43d3ec883803d6a8668e19e9402287d375c (patch) | |
tree | 4b8109d2c829d387942b9ef2fbdd405e574ac59c /doc/conf.py | |
parent | 0bacf9e8c29b5fff09e7c04fb566ffe5e1777387 (diff) | |
download | pylint-git-f567e43d3ec883803d6a8668e19e9402287d375c.tar.gz |
Make the current year dynamic
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py index a86e11a16..1ce7beeaa 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -11,7 +11,9 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys, os +import sys +import os +from datetime import datetime # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -46,7 +48,7 @@ master_doc = 'index' # General information about the project. project = u'Pylint' -copyright = u'2003-2017, Logilab, PyCQA and contributors' +copyright = f'2003-{datetime.utcnow().year}, Logilab, PyCQA and contributors' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the |