Fix unused imports (#296)

pull/297/head
Ethan Ward 2016-07-18 15:45:11 -05:00 committed by GitHub
parent 743c430996
commit b60bd99e79
7 changed files with 4 additions and 8 deletions

View File

@ -24,7 +24,6 @@ import pyaudio
from speech_recognition import ( from speech_recognition import (
Microphone, Microphone,
AudioSource, AudioSource,
WaitTimeoutError,
AudioData AudioData
) )
import speech_recognition import speech_recognition

View File

@ -17,7 +17,7 @@
import json import json
from os.path import join, expanduser, exists from os.path import expanduser, exists
from mycroft.configuration import ConfigurationManager from mycroft.configuration import ConfigurationManager
from mycroft.messagebus.client.ws import WebsocketClient from mycroft.messagebus.client.ws import WebsocketClient

View File

@ -1,13 +1,11 @@
from os.path import join, dirname from os.path import join, dirname
from adapt.intent import IntentBuilder from adapt.intent import IntentBuilder
from mycroft.skills import time_rules
from mycroft.skills.core import MycroftSkill from mycroft.skills.core import MycroftSkill
from mycroft.messagebus.message import Message from mycroft.messagebus.message import Message
from mycroft.configuration import ConfigurationManager from mycroft.configuration import ConfigurationManager
from mycroft.util.log import getLogger from mycroft.util.log import getLogger
import mycroft.skills.media.mopidy
logger = getLogger(__name__) logger = getLogger(__name__)

View File

@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with Mycroft Core. If not, see <http://www.gnu.org/licenses/>. # along with Mycroft Core. If not, see <http://www.gnu.org/licenses/>.
from os.path import dirname, join from os.path import dirname
import time import time
import requests import requests
import xml.etree.ElementTree as ET import xml.etree.ElementTree as ET

View File

@ -18,7 +18,7 @@
import time import time
from alsaaudio import Mixer from alsaaudio import Mixer
from os.path import dirname, join from os.path import dirname
from adapt.intent import IntentBuilder from adapt.intent import IntentBuilder
from mycroft.skills.core import MycroftSkill from mycroft.skills.core import MycroftSkill

View File

@ -17,7 +17,7 @@
from adapt.intent import IntentBuilder from adapt.intent import IntentBuilder
from os.path import dirname, join from os.path import dirname
from pyowm.exceptions.api_call_error import APICallError from pyowm.exceptions.api_call_error import APICallError
from multi_key_dict import multi_key_dict from multi_key_dict import multi_key_dict

View File

@ -1,7 +1,6 @@
import unittest import unittest
import wolframalpha import wolframalpha
from StringIO import StringIO from StringIO import StringIO
from xml.etree import ElementTree as etree
from mycroft.skills.wolfram_alpha import WolframAlphaSkill from mycroft.skills.wolfram_alpha import WolframAlphaSkill
from mycroft.util.log import getLogger from mycroft.util.log import getLogger