contrib_bots: Fix python 3 lint errors.
This commit is contained in:
parent
caf3ec3ca1
commit
bd4be69148
|
@ -8,7 +8,7 @@ import importlib
|
|||
import sys
|
||||
from math import log10, floor
|
||||
|
||||
import utils
|
||||
from . import utils
|
||||
import re
|
||||
|
||||
def is_float(value):
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import converter
|
||||
from __future__ import absolute_import
|
||||
from . import converter
|
||||
|
||||
def test():
|
||||
for cmd, expected_response in sample_conversation():
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -12,6 +12,8 @@ Note:
|
|||
required by `howdoi`.
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import sys
|
||||
import logging
|
||||
from textwrap import fill
|
||||
|
|
Loading…
Reference in a new issue