contrib_bots: Fix python 3 lint errors.

This commit is contained in:
Tim Abbott 2017-05-26 10:15:53 -07:00
parent caf3ec3ca1
commit bd4be69148
4 changed files with 7 additions and 4 deletions

View file

@ -8,7 +8,7 @@ import importlib
import sys
from math import log10, floor
import utils
from . import utils
import re
def is_float(value):

View file

@ -1,4 +1,5 @@
import converter
from __future__ import absolute_import
from . import converter
def test():
for cmd, expected_response in sample_conversation():

View file

@ -1,4 +1,4 @@
import encrypt_bot
from . import encrypt
def test():
for cmd, expected_response in sample_conversation():
@ -11,7 +11,7 @@ def test():
def send_message(self, params):
self.output = params['content']
handler = encrypt_bot.EncryptHandler()
handler = encrypt.EncryptHandler()
client_dummy = ClientDummy()
handler.handle_message(message, client_dummy, '')
if client_dummy.output != expected_response:

View file

@ -12,6 +12,8 @@ Note:
required by `howdoi`.
"""
from __future__ import absolute_import
import sys
import logging
from textwrap import fill