From efb4ff850ea476d2aabc8ab4069a6d52ad602f42 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Wed, 1 Aug 2018 15:24:33 +0200 Subject: [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. --- discord/client.py | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'discord/client.py') diff --git a/discord/client.py b/discord/client.py index e5269828..012adc73 100644 --- a/discord/client.py +++ b/discord/client.py @@ -24,6 +24,17 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ +import asyncio +from collections import namedtuple +import logging +import re +import signal +import sys +import traceback + +import aiohttp +import websockets + from .user import User, Profile from .invite import Invite from .object import Object @@ -39,15 +50,6 @@ from . import utils from .backoff import ExponentialBackoff from .webhook import Webhook -import asyncio -import aiohttp -import websockets - -import logging, traceback -import sys, re -import signal -from collections import namedtuple - log = logging.getLogger(__name__) AppInfo = namedtuple('AppInfo', -- cgit v1.2.3