bots: Remove unneeded __future__ imports.

This commit is contained in:
Steve Howell 2017-12-12 07:32:14 -06:00
parent fd069dff82
commit f69d71c3b1
12 changed files with 0 additions and 28 deletions

View file

@ -1,8 +1,5 @@
# See readme.md for instructions on running this code.
from __future__ import absolute_import
from __future__ import division
import copy
import importlib
from math import log10, floor

View file

@ -1,5 +1,4 @@
# See readme.md for instructions on running this code.
from __future__ import print_function
import logging
from six.moves.urllib import parse
import json

View file

@ -1,6 +1,3 @@
from __future__ import absolute_import
from __future__ import print_function
from zulip_bots.test_lib import (
StubBotHandler,
StubBotTestCase,

View file

@ -1,8 +1,3 @@
# To use this plugin, you need to set up the Giphy API key for this bot in
# giphy.conf in this (zulip_bots/bots/giphy/giphy/) directory.
from __future__ import absolute_import
from __future__ import print_function
from six.moves.configparser import SafeConfigParser
from typing import Dict, Any, Union
import requests

View file

@ -1,5 +1,4 @@
# See readme.md for instructions on running this code.
from __future__ import print_function
import logging
from six.moves.urllib import parse

View file

@ -1,9 +1,6 @@
# To use this plugin, you need to set up the Google Cloud API key for this bot in
# googletranslate.conf in this (zulip_bots/bots/googletranslate/) directory.
from __future__ import absolute_import
from __future__ import print_function
import requests
class GoogleTranslateHandler(object):

View file

@ -1,6 +1,3 @@
from __future__ import absolute_import
from __future__ import print_function
import copy
import random
from six.moves import range

View file

@ -1,5 +1,4 @@
# See readme.md for instructions on running this code.
from __future__ import print_function
import requests
import json

View file

@ -1,5 +1,3 @@
from __future__ import absolute_import
from __future__ import print_function
import requests
import logging
import re

View file

@ -1,6 +1,4 @@
# See readme.md for instructions on running this code.
from __future__ import print_function
import logging
import ssl
import sys

View file

@ -1,5 +1,3 @@
from __future__ import absolute_import
from unittest.mock import patch
from requests.exceptions import HTTPError, ConnectionError

View file

@ -1,5 +1,3 @@
from __future__ import absolute_import
import requests
import logging
import sys