[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 authored and Rapptz committed 2018-11-24 22:17:58 -05:00
1 parent ed6451b9da
commit efb4ff850e
19 files changed
+86 -73

No files matched your search

+7 -6
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.