__pkginfo__.py (pylint-2.13.7) | : | __pkginfo__.py (pylint-2.13.8) | ||
---|---|---|---|---|
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |||
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE | # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE | |||
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt | # Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt | |||
from typing import Tuple | from typing import Tuple | |||
__version__ = "2.13.7" | __version__ = "2.13.8" | |||
def get_numversion_from_version(v: str) -> Tuple: | def get_numversion_from_version(v: str) -> Tuple: | |||
"""Kept for compatibility reason. | """Kept for compatibility reason. | |||
See https://github.com/PyCQA/pylint/issues/4399 | See https://github.com/PyCQA/pylint/issues/4399 | |||
https://github.com/PyCQA/pylint/issues/4420, | https://github.com/PyCQA/pylint/issues/4420, | |||
""" | """ | |||
v = v.replace("pylint-", "") | v = v.replace("pylint-", "") | |||
version = [] | version = [] | |||
for n in v.split(".")[0:3]: | for n in v.split(".")[0:3]: | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |