From f5d96dbcce6e93f1ec385c6826071a1f6aa986c6 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sat, 18 Apr 2020 17:01:55 -0700 Subject: [PATCH] cleanup: Remove duplicate imports. Signed-off-by: Anders Kaseorg --- zulip_bots/zulip_bots/bots/incident/incident.py | 2 -- zulip_bots/zulip_bots/bots/trivia_quiz/trivia_quiz.py | 2 -- zulip_bots/zulip_bots/bots/wikipedia/wikipedia.py | 2 -- zulip_bots/zulip_bots/game_handler.py | 1 - 4 files changed, 7 deletions(-) diff --git a/zulip_bots/zulip_bots/bots/incident/incident.py b/zulip_bots/zulip_bots/bots/incident/incident.py index 3bbdfe5..8d7db55 100644 --- a/zulip_bots/zulip_bots/bots/incident/incident.py +++ b/zulip_bots/zulip_bots/bots/incident/incident.py @@ -1,7 +1,5 @@ import json import re -from zulip_bots.lib import Any - from typing import Any, Dict, Tuple QUESTION = 'How should we handle this?' diff --git a/zulip_bots/zulip_bots/bots/trivia_quiz/trivia_quiz.py b/zulip_bots/zulip_bots/bots/trivia_quiz/trivia_quiz.py index 99e34b6..354d857 100644 --- a/zulip_bots/zulip_bots/bots/trivia_quiz/trivia_quiz.py +++ b/zulip_bots/zulip_bots/bots/trivia_quiz/trivia_quiz.py @@ -3,8 +3,6 @@ import json import requests import random import re -from zulip_bots.lib import Any - from typing import Optional, Any, Dict, Tuple class NotAvailableException(Exception): diff --git a/zulip_bots/zulip_bots/bots/wikipedia/wikipedia.py b/zulip_bots/zulip_bots/bots/wikipedia/wikipedia.py index b554445..ec9af59 100644 --- a/zulip_bots/zulip_bots/bots/wikipedia/wikipedia.py +++ b/zulip_bots/zulip_bots/bots/wikipedia/wikipedia.py @@ -1,7 +1,5 @@ import requests import logging -from zulip_bots.lib import Any - from typing import Optional, Any, Dict # See readme.md for instructions on running this code. diff --git a/zulip_bots/zulip_bots/game_handler.py b/zulip_bots/zulip_bots/game_handler.py index 92c12cc..5d6b049 100644 --- a/zulip_bots/zulip_bots/game_handler.py +++ b/zulip_bots/zulip_bots/game_handler.py @@ -4,7 +4,6 @@ import random import logging from copy import deepcopy from typing import Any, Dict, Tuple, List -import random class BadMoveException(Exception):