third_party.pylibs.pylint.src/pylint/__pkginfo__.py

16 lines
545 B
Python
Raw Normal View History

# 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 typing import Optional
2021-04-24 19:51:16 +00:00
__version__ = "2.8.1"
# For an official release, use 'alpha_version = False' and 'dev_version = None'
alpha_version: bool = False # Release will be an alpha version if True (ex: '1.2.3a6')
2021-04-24 19:51:16 +00:00
dev_version: Optional[int] = 1
if dev_version is not None:
if alpha_version:
__version__ += f"a{dev_version}"
else:
__version__ += f".dev{dev_version}"