summaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/conf.py b/doc/conf.py
index ada9ec493..16bfb7eb9 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -11,10 +11,17 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
-import sys
import os
+import sys
from datetime import datetime
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+# The short X.Y version.
+from pylint.__pkginfo__ import version
+
# 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
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -51,12 +58,6 @@ project = 'Pylint'
current_year = datetime.utcnow().year
copyright = '2003-{year}, Logilab, PyCQA and contributors'.format(year=current_year)
-# The version info for the project you're documenting, acts as replacement for
-# |version| and |release|, also used in various other places throughout the
-# built documents.
-#
-# The short X.Y version.
-from pylint.__pkginfo__ import version
# The full version, including alpha/beta/rc tags.
release = version