diff --git a/bots/jabber_mirror_backend.py b/bots/jabber_mirror_backend.py index 60bec45..9d4645b 100755 --- a/bots/jabber_mirror_backend.py +++ b/bots/jabber_mirror_backend.py @@ -37,7 +37,7 @@ # | other sender| x | | | # public mode +-------------+-----+----+--------+---- # | self sender | | | | -from typing import * +from typing import Set import logging import threading diff --git a/bots/summarize_stream.py b/bots/summarize_stream.py index 3b4da8c..b27c68a 100644 --- a/bots/summarize_stream.py +++ b/bots/summarize_stream.py @@ -1,5 +1,5 @@ from __future__ import print_function -from typing import * +from typing import Any, Dict, List # This is hacky code to analyze data on our support stream. The main # reusable bits are get_recent_messages and get_words. diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py index aac3168..44a253f 100755 --- a/bots/zephyr_mirror_backend.py +++ b/bots/zephyr_mirror_backend.py @@ -21,7 +21,7 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. from __future__ import absolute_import -from typing import * +from typing import Any, List import sys from six.moves import map diff --git a/setup.py b/setup.py index 939bb6d..d26eaab 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- from __future__ import print_function -from typing import * +from typing import Any, Generator, List, Tuple import os import sys