mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-06-08 13:24:35 +00:00
Give imports some more sensible ordering
This commit is contained in:
@@ -5,8 +5,8 @@ from datetime import datetime, timezone
|
||||
from typing import Optional, List, Dict, Iterable, TYPE_CHECKING
|
||||
|
||||
from channel import Channel
|
||||
from constants import JsonType, GQL_OPERATIONS
|
||||
from utils import Game, timestamp, invalidate_cache
|
||||
from constants import GQL_OPERATIONS, JsonType
|
||||
from utils import timestamp, invalidate_cache, Game
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from twitch import Twitch
|
||||
|
||||
16
twitch.py
16
twitch.py
@@ -20,23 +20,23 @@ except ModuleNotFoundError as exc:
|
||||
|
||||
from channel import Channel
|
||||
from websocket import WebsocketPool
|
||||
from gui import GUIManager, LoginData
|
||||
from gui import LoginData, GUIManager
|
||||
from inventory import DropsCampaign, TimedDrop
|
||||
from exceptions import LoginException, CaptchaRequired
|
||||
from utils import Game, AwaitableValue, OrderedSet, task_wrapper, timestamp
|
||||
from utils import task_wrapper, timestamp, Game, AwaitableValue, OrderedSet
|
||||
from constants import (
|
||||
State,
|
||||
JsonType,
|
||||
WebsocketTopic,
|
||||
GQL_URL,
|
||||
AUTH_URL,
|
||||
CLIENT_ID,
|
||||
USER_AGENT,
|
||||
COOKIES_PATH,
|
||||
AUTH_URL,
|
||||
GQL_URL,
|
||||
WATCH_INTERVAL,
|
||||
GQL_OPERATIONS,
|
||||
WATCH_INTERVAL,
|
||||
DROPS_ENABLED_TAG,
|
||||
JsonType,
|
||||
State,
|
||||
GQLOperation,
|
||||
WebsocketTopic,
|
||||
)
|
||||
|
||||
if TYPE_CHECKING:
|
||||
|
||||
Reference in New Issue
Block a user