[lint] Fix import order

Reorder imports to be consistenly grouped by standard library, third
party library, and local modules in that order thoughout the library.
This commit is contained in:
Hornwitser
2018-08-01 15:24:33 +02:00
committed by Rapptz
parent ed6451b9da
commit efb4ff850e
19 changed files with 86 additions and 73 deletions

View File

@ -45,7 +45,11 @@ import logging
import struct
import threading
log = logging.getLogger(__name__)
from . import opus
from .backoff import ExponentialBackoff
from .gateway import *
from .errors import ClientException, ConnectionClosed
from .player import AudioPlayer, AudioSource
try:
import nacl.secret
@ -53,11 +57,8 @@ try:
except ImportError:
has_nacl = False
from . import opus
from .backoff import ExponentialBackoff
from .gateway import *
from .errors import ClientException, ConnectionClosed
from .player import AudioPlayer, AudioSource
log = logging.getLogger(__name__)
class VoiceClient:
"""Represents a Discord voice connection.