isort and black for master branch of Element21, ready for PR
This commit is contained in:
@@ -11,7 +11,6 @@ import uuid
|
||||
from collections import OrderedDict
|
||||
from datetime import datetime
|
||||
|
||||
from TwitchChannelPointsMiner.utils import get_user_agent, _millify
|
||||
from TwitchChannelPointsMiner.classes.Bet import BetSettings
|
||||
from TwitchChannelPointsMiner.classes.Exceptions import StreamerDoesNotExistException
|
||||
from TwitchChannelPointsMiner.classes.Logger import LoggerSettings, configure_loggers
|
||||
@@ -23,6 +22,7 @@ from TwitchChannelPointsMiner.classes.TwitchBrowser import (
|
||||
TwitchBrowser,
|
||||
)
|
||||
from TwitchChannelPointsMiner.classes.WebSocketsPool import WebSocketsPool
|
||||
from TwitchChannelPointsMiner.utils import _millify, get_user_agent
|
||||
|
||||
# Suppress warning for urllib3.connectionpool (selenium close connection)
|
||||
# Suppress also the selenium logger please
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import copy
|
||||
import logging
|
||||
|
||||
from enum import Enum, auto
|
||||
|
||||
from TwitchChannelPointsMiner.utils import _millify, float_round
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import logging
|
||||
import os
|
||||
import platform
|
||||
import emoji
|
||||
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
|
||||
import emoji
|
||||
|
||||
from TwitchChannelPointsMiner.utils import remove_emoji
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import json
|
||||
import logging
|
||||
import time
|
||||
|
||||
from base64 import b64encode
|
||||
|
||||
from TwitchChannelPointsMiner.constants.twitch import DROP_ID
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
import logging
|
||||
import time
|
||||
|
||||
from TwitchChannelPointsMiner.utils import _millify
|
||||
|
||||
from TwitchChannelPointsMiner.classes.Stream import Stream
|
||||
from TwitchChannelPointsMiner.constants.twitch import URL
|
||||
from TwitchChannelPointsMiner.utils import _millify
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@ import os
|
||||
import random
|
||||
import re
|
||||
import time
|
||||
import requests
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
import requests
|
||||
|
||||
from TwitchChannelPointsMiner.classes.Exceptions import (
|
||||
StreamerDoesNotExistException,
|
||||
StreamerIsOfflineException,
|
||||
|
||||
@@ -3,7 +3,6 @@ import os
|
||||
import platform
|
||||
import random
|
||||
import time
|
||||
|
||||
from enum import Enum, auto
|
||||
from pathlib import Path
|
||||
|
||||
@@ -17,11 +16,7 @@ from selenium.webdriver.support.ui import WebDriverWait
|
||||
from TwitchChannelPointsMiner.classes.EventPrediction import EventPrediction
|
||||
from TwitchChannelPointsMiner.constants.browser import Javascript, Selectors
|
||||
from TwitchChannelPointsMiner.constants.twitch import URL
|
||||
from TwitchChannelPointsMiner.utils import (
|
||||
bet_condition,
|
||||
get_user_agent,
|
||||
_millify
|
||||
)
|
||||
from TwitchChannelPointsMiner.utils import _millify, bet_condition, get_user_agent
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import getpass
|
||||
import logging
|
||||
import os
|
||||
import pickle
|
||||
|
||||
import browser_cookie3
|
||||
import requests
|
||||
|
||||
|
||||
@@ -13,10 +13,10 @@ from TwitchChannelPointsMiner.classes.Raid import Raid
|
||||
from TwitchChannelPointsMiner.classes.TwitchWebSocket import TwitchWebSocket
|
||||
from TwitchChannelPointsMiner.constants.twitch import WEBSOCKET
|
||||
from TwitchChannelPointsMiner.utils import (
|
||||
_millify,
|
||||
bet_condition,
|
||||
calculate_start_after,
|
||||
get_streamer_index,
|
||||
_millify,
|
||||
)
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
Reference in New Issue
Block a user