2016-06-01 15:11:29 +00:00
|
|
|
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
2021-04-11 13:29:34 +00:00
|
|
|
# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
|
2016-06-01 15:11:29 +00:00
|
|
|
|
2021-03-30 08:56:53 +00:00
|
|
|
from typing import Optional
|
2015-03-27 17:33:36 +00:00
|
|
|
|
2021-04-24 19:51:16 +00:00
|
|
|
__version__ = "2.8.1"
|
2021-03-30 08:56:53 +00:00
|
|
|
# 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
|
2018-08-23 07:43:09 +00:00
|
|
|
|
2019-03-05 07:28:21 +00:00
|
|
|
if dev_version is not None:
|
2021-03-30 08:56:53 +00:00
|
|
|
if alpha_version:
|
2021-04-04 12:37:19 +00:00
|
|
|
__version__ += f"a{dev_version}"
|
2021-03-30 08:56:53 +00:00
|
|
|
else:
|
2021-04-04 13:09:27 +00:00
|
|
|
__version__ += f".dev{dev_version}"
|