blob: 8316089ec9b16eb7c5f6019bbd47e0991f1bffeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
from pkg_resources import DistributionNotFound, get_distribution
try:
__version__ = get_distribution("pylint").version
except DistributionNotFound:
__version__ = "2.8.2+"
# Kept for compatibility reason, see https://github.com/PyCQA/pylint/issues/4399
numversion = tuple(__version__.split("."))
|