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. # See readme.md for instructions on running this code.
from __future__ import absolute_import
from __future__ import division
import copy import copy
import importlib import importlib
from math import log10, floor from math import log10, floor

View file

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

View file

@ -1,6 +1,3 @@
from __future__ import absolute_import
from __future__ import print_function
from zulip_bots.test_lib import ( from zulip_bots.test_lib import (
StubBotHandler, StubBotHandler,
StubBotTestCase, 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 six.moves.configparser import SafeConfigParser
from typing import Dict, Any, Union from typing import Dict, Any, Union
import requests import requests

View file

@ -1,5 +1,4 @@
# See readme.md for instructions on running this code. # See readme.md for instructions on running this code.
from __future__ import print_function
import logging import logging
from six.moves.urllib import parse 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 # 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. # googletranslate.conf in this (zulip_bots/bots/googletranslate/) directory.
from __future__ import absolute_import
from __future__ import print_function
import requests import requests
class GoogleTranslateHandler(object): class GoogleTranslateHandler(object):

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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