Restyled by isort

This commit is contained in:
Restyled.io 2020-07-12 20:32:18 +00:00
parent 12d1277fb4
commit de87a73809
6 changed files with 53 additions and 83 deletions

View File

@ -6,32 +6,17 @@
#
from Defs.ImportManager.unsorted_will_be_replaced import (
BytesIO,
ZipFile,
run_command,
url_request,
run_background_command,
wait,
ngrok,
ngrok_conf,
requests,
regular_expression,
check_output,
CalledProcessError,
chdir,
chmod,
DEVNULL,
PIPE,
path,
pathlib_Path,
)
import Defs.ThemeManager.theme as theme
import os
import Defs.LocalizationManager.lang_action_manager.lang_server.lang_server_runner as localization
import Defs.LocalizationManager.lang_global_usage as global_localization
from Defs.LocalizationManager.helper import print_sorted_as_menu
import Defs.ThemeManager.theme as theme
from Defs.ActionManager import simple_informant
import os
from Defs.ImportManager.unsorted_will_be_replaced import (
DEVNULL, PIPE, BytesIO, CalledProcessError, ZipFile, chdir, check_output,
chmod, ngrok, ngrok_conf, path, pathlib_Path, regular_expression, requests,
run_background_command, run_command, url_request, wait)
from Defs.LocalizationManager.helper import print_sorted_as_menu
try:
os.mkdir("Server/www")

View File

@ -6,24 +6,18 @@
#
from Defs.ImportManager.unsorted_will_be_replaced import (
run_command,
webpage_set,
wait,
path,
rmtree,
pathlib_Path,
copyfile,
chmod,
mkdir,
remove,
)
import os
import time
import Defs.ActionManager.simple_informant as simple_informant
import Defs.LocalizationManager.lang_action_manager.lang_main_runner as localization
import Defs.LocalizationManager.lang_global_usage as global_localization
from Defs.ImportManager.unsorted_will_be_replaced import (chmod, copyfile,
mkdir, path,
pathlib_Path, remove,
rmtree, run_command,
wait, webpage_set)
from Defs.LocalizationManager.helper import print_sorted_as_menu
import os
import time
module_loading_message = simple_informant.module_loading_message

View File

@ -5,25 +5,20 @@
# under certain conditions; you can read LICENSE for details.
#
from Defs.ImportManager.unsorted_will_be_replaced import (
requests,
getuid,
platform,
run_command,
try_to_run_command,
wait,
chmod,
stat,
pathlib_Path,
copyfile,
socket,
regular_expression,
)
import Defs.ThemeManager.theme as theme
import Defs.FeatureManager.EmailManager.email_prompt as email_prompt
import Defs.ActionManager.Server.server_runner as server_runner
import Defs.FeatureManager.EmailManager.email_prompt as email_prompt
import Defs.LocalizationManager.lang_action_manager.lang_simple_informant as localization
import Defs.LocalizationManager.lang_global_usage as global_localization
import Defs.ThemeManager.theme as theme
from Defs.ImportManager.unsorted_will_be_replaced import (chmod, copyfile,
getuid, pathlib_Path,
platform,
regular_expression,
requests,
run_command, socket,
stat,
try_to_run_command,
wait)
default_palette = theme.default_palette

View File

@ -6,28 +6,25 @@
#
from subprocess import (
call as run_command,
check_call as try_to_run_command,
Popen as run_background_command,
check_output,
CalledProcessError,
DEVNULL,
PIPE,
)
from distutils.dir_util import copy_tree as webpage_set
from time import sleep as wait
from os import path, system, chmod, stat, mkdir, remove, chdir, replace, getuid
from shutil import rmtree, copyfile
from pathlib import Path as pathlib_Path
from pyngrok import conf as ngrok_conf, ngrok
import re as regular_expression
import getpass
import base64
import socket
import requests
import getpass
import platform
import requests
import re as regular_expression
import socket
from distutils.dir_util import copy_tree as webpage_set
from io import BytesIO
from os import chdir, chmod, getuid, mkdir, path, remove, replace, stat, system
from pathlib import Path as pathlib_Path
from shutil import copyfile, rmtree
from subprocess import DEVNULL, PIPE, CalledProcessError
from subprocess import Popen as run_background_command
from subprocess import call as run_command
from subprocess import check_call as try_to_run_command
from subprocess import check_output
from time import sleep as wait
from urllib import request as url_request
from zipfile import ZipFile
from io import BytesIO
import requests
from pyngrok import conf as ngrok_conf
from pyngrok import ngrok

View File

@ -10,7 +10,6 @@
import Defs.ThemeManager.theme as theme
from Defs.LocalizationManager.localization import _
default_palette = theme.default_palette

View File

@ -4,17 +4,17 @@
# This is free software, and you are welcome to redistribute it
# under certain conditions; you can read LICENSE for details.
#
from os import system, environ
import multiprocessing
import ssl
import sys
from os import environ, system
import Defs.ActionManager.main_runner as main_runner
import Defs.FeatureManager.keylogger as keylogger
import Defs.FeatureManager.cloudflare as cloudflare
import Defs.FeatureManager.EmailManager.email_prompt as email_prompt
import Defs.ActionManager.Server.server_runner as server_runner
import Defs.ActionManager.simple_informant as simple_informant
import multiprocessing
import sys
import ssl
import Defs.FeatureManager.cloudflare as cloudflare
import Defs.FeatureManager.EmailManager.email_prompt as email_prompt
import Defs.FeatureManager.keylogger as keylogger
simple_informant.license_handler()
agreement = simple_informant.terms_of_service_message()