diff --git a/imapclient/version.py b/imapclient/version.py index 33df0adb..ee49a304 100644 --- a/imapclient/version.py +++ b/imapclient/version.py @@ -2,10 +2,12 @@ # Released subject to the New BSD License # Please see http://en.wikipedia.org/wiki/BSD_licenses +from typing import Tuple + version_info = (2, 3, 1, "final") -def _imapclient_version_string(vinfo): +def _imapclient_version_string(vinfo: Tuple[int, int, int, str]) -> str: major, minor, micro, releaselevel = vinfo v = "%d.%d.%d" % (major, minor, micro) if releaselevel != "final": diff --git a/pyproject.toml b/pyproject.toml index a0f54775..deb8b238 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,6 @@ module = [ "imapclient.testable_imapclient", "imapclient.tls", "imapclient.util", - "imapclient.version", "interact", "livetest", "setup",