Skip to content

Commit ee86def

Browse files
chore: add type-hints to setup.py
1 parent 332935d commit ee86def

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ module = [
5252
"imapclient.interact",
5353
"interact",
5454
"livetest",
55-
"setup",
5655
]
5756
ignore_errors = true
5857

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
# Please see http://en.wikipedia.org/wiki/BSD_licenses
66

77
from os import path
8+
from typing import Dict
89

9-
from setuptools import setup
10+
from setuptools import setup # type: ignore[import]
1011

1112
# Read version info
1213
here = path.dirname(__file__)
1314
version_file = path.join(here, "imapclient", "version.py")
14-
info = {}
15+
info: Dict[str, str] = {}
1516
exec(open(version_file).read(), {}, info)
1617

1718
desc = """\

0 commit comments

Comments
 (0)