File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 8
8
import sys
9
9
from datetime import datetime
10
10
11
- # The version info for the project you're documenting, acts as replacement for
12
- # |version| and |release|, also used in various other places throughout the
13
- # built documents.
14
- #
15
- # The short X.Y version.
16
11
from pylint import __version__
12
+ from pylint .__pkginfo__ import numversion
17
13
18
14
# Pylint documentation build configuration file, created by
19
15
# sphinx-quickstart on Thu Apr 4 20:31:25 2013.
74
70
current_year = datetime .utcnow ().year
75
71
copyright = f"2003-{ current_year } , Logilab, PyCQA and contributors" # pylint: disable=redefined-builtin
76
72
73
+ # The version info for the project you're documenting, acts as replacement for
74
+ # |version| and |release|, also used in various other places throughout the
75
+ # built documents.
76
+ # The short X.Y version.
77
+ version = f"{ numversion [0 ]} .{ numversion [1 ]} "
77
78
# The full version, including alpha/beta/rc tags.
78
79
release = __version__
79
80
You can’t perform that action at this time.
0 commit comments