Restyled by isort

This commit is contained in:
Restyled.io 2020-08-13 12:56:48 +00:00
parent 38f4af329e
commit d451875378
7 changed files with 28 additions and 63 deletions

View File

@ -10,21 +10,10 @@ import Defs.LocalizationManager.lang_action_manager.lang_server.lang_server_runn
import Defs.LocalizationManager.lang_global_usage as global_localization import Defs.LocalizationManager.lang_global_usage as global_localization
import Defs.ThemeManager.theme as theme import Defs.ThemeManager.theme as theme
from Defs.ActionManager import simple_informant from Defs.ActionManager import simple_informant
from Defs.ImportManager.unsorted_will_be_replaced import BytesIO from Defs.ImportManager.unsorted_will_be_replaced import (
from Defs.ImportManager.unsorted_will_be_replaced import CalledProcessError DEVNULL, BytesIO, CalledProcessError, ZipFile, check_output, chmod, ngrok,
from Defs.ImportManager.unsorted_will_be_replaced import check_output ngrok_conf, path, regular_expression, requests, run_background_command,
from Defs.ImportManager.unsorted_will_be_replaced import chmod run_command, url_request, wait)
from Defs.ImportManager.unsorted_will_be_replaced import DEVNULL
from Defs.ImportManager.unsorted_will_be_replaced import ngrok
from Defs.ImportManager.unsorted_will_be_replaced import ngrok_conf
from Defs.ImportManager.unsorted_will_be_replaced import path
from Defs.ImportManager.unsorted_will_be_replaced import regular_expression
from Defs.ImportManager.unsorted_will_be_replaced import requests
from Defs.ImportManager.unsorted_will_be_replaced import run_background_command
from Defs.ImportManager.unsorted_will_be_replaced import run_command
from Defs.ImportManager.unsorted_will_be_replaced import url_request
from Defs.ImportManager.unsorted_will_be_replaced import wait
from Defs.ImportManager.unsorted_will_be_replaced import ZipFile
from Defs.LocalizationManager.helper import print_sorted_as_menu from Defs.LocalizationManager.helper import print_sorted_as_menu
try: try:

View File

@ -9,15 +9,11 @@ import time
import Defs.ActionManager.simple_informant as simple_informant import Defs.ActionManager.simple_informant as simple_informant
import Defs.LocalizationManager.lang_action_manager.lang_main_runner as localization import Defs.LocalizationManager.lang_action_manager.lang_main_runner as localization
import Defs.LocalizationManager.lang_global_usage as global_localization import Defs.LocalizationManager.lang_global_usage as global_localization
from Defs.ImportManager.unsorted_will_be_replaced import copyfile from Defs.ImportManager.unsorted_will_be_replaced import (copyfile, mkdir,
from Defs.ImportManager.unsorted_will_be_replaced import mkdir path, pathlib_Path,
from Defs.ImportManager.unsorted_will_be_replaced import path remove, rmtree,
from Defs.ImportManager.unsorted_will_be_replaced import pathlib_Path run_command, wait,
from Defs.ImportManager.unsorted_will_be_replaced import remove webpage_set)
from Defs.ImportManager.unsorted_will_be_replaced import rmtree
from Defs.ImportManager.unsorted_will_be_replaced import run_command
from Defs.ImportManager.unsorted_will_be_replaced import wait
from Defs.ImportManager.unsorted_will_be_replaced import webpage_set
from Defs.LocalizationManager.helper import print_sorted_as_menu from Defs.LocalizationManager.helper import print_sorted_as_menu
module_loading_message = simple_informant.module_loading_message module_loading_message = simple_informant.module_loading_message

View File

@ -9,15 +9,11 @@ import Defs.FeatureManager.EmailManager.email_prompt as email_prompt
import Defs.LocalizationManager.lang_action_manager.lang_simple_informant as localization import Defs.LocalizationManager.lang_action_manager.lang_simple_informant as localization
import Defs.LocalizationManager.lang_global_usage as global_localization import Defs.LocalizationManager.lang_global_usage as global_localization
import Defs.ThemeManager.theme as theme import Defs.ThemeManager.theme as theme
from Defs.ImportManager.unsorted_will_be_replaced import chmod from Defs.ImportManager.unsorted_will_be_replaced import (chmod, copyfile,
from Defs.ImportManager.unsorted_will_be_replaced import copyfile getuid, pathlib_Path,
from Defs.ImportManager.unsorted_will_be_replaced import getuid platform, requests,
from Defs.ImportManager.unsorted_will_be_replaced import pathlib_Path run_command, stat,
from Defs.ImportManager.unsorted_will_be_replaced import platform try_to_run_command)
from Defs.ImportManager.unsorted_will_be_replaced import requests
from Defs.ImportManager.unsorted_will_be_replaced import run_command
from Defs.ImportManager.unsorted_will_be_replaced import stat
from Defs.ImportManager.unsorted_will_be_replaced import try_to_run_command
default_palette = theme.default_palette default_palette = theme.default_palette

View File

@ -5,13 +5,10 @@
# under certain conditions; you can read LICENSE for details. # under certain conditions; you can read LICENSE for details.
# #
import Defs.ThemeManager.theme as theme import Defs.ThemeManager.theme as theme
from Defs.ImportManager.unsorted_will_be_replaced import base64 from Defs.ImportManager.unsorted_will_be_replaced import (base64, copyfile,
from Defs.ImportManager.unsorted_will_be_replaced import copyfile getpass, path,
from Defs.ImportManager.unsorted_will_be_replaced import getpass run_command, system,
from Defs.ImportManager.unsorted_will_be_replaced import path wait)
from Defs.ImportManager.unsorted_will_be_replaced import run_command
from Defs.ImportManager.unsorted_will_be_replaced import system
from Defs.ImportManager.unsorted_will_be_replaced import wait
default_palette = theme.default_palette default_palette = theme.default_palette

View File

@ -5,12 +5,10 @@
# under certain conditions; you can read LICENSE for details. # under certain conditions; you can read LICENSE for details.
# #
import Defs.ThemeManager.theme as theme import Defs.ThemeManager.theme as theme
from Defs.ImportManager.unsorted_will_be_replaced import chmod from Defs.ImportManager.unsorted_will_be_replaced import (chmod, copyfile,
from Defs.ImportManager.unsorted_will_be_replaced import copyfile pathlib_Path,
from Defs.ImportManager.unsorted_will_be_replaced import pathlib_Path replace, run_command,
from Defs.ImportManager.unsorted_will_be_replaced import replace wait)
from Defs.ImportManager.unsorted_will_be_replaced import run_command
from Defs.ImportManager.unsorted_will_be_replaced import wait
default_palette = theme.default_palette default_palette = theme.default_palette

View File

@ -5,9 +5,8 @@
# under certain conditions; you can read LICENSE for details. # under certain conditions; you can read LICENSE for details.
# #
import Defs.ThemeManager.theme as theme import Defs.ThemeManager.theme as theme
from Defs.ImportManager.unsorted_will_be_replaced import path from Defs.ImportManager.unsorted_will_be_replaced import (path, run_command,
from Defs.ImportManager.unsorted_will_be_replaced import run_command wait)
from Defs.ImportManager.unsorted_will_be_replaced import wait
default_palette = theme.default_palette default_palette = theme.default_palette

View File

@ -12,24 +12,14 @@ import socket
import stat import stat
from distutils.dir_util import copy_tree as webpage_set from distutils.dir_util import copy_tree as webpage_set
from io import BytesIO from io import BytesIO
from os import chdir from os import chdir, chmod, getuid, mkdir, path, remove, replace, system
from os import chmod
from os import getuid
from os import mkdir
from os import path
from os import remove
from os import replace
from os import system
from pathlib import Path as pathlib_Path from pathlib import Path as pathlib_Path
from shutil import copyfile from shutil import copyfile, rmtree
from shutil import 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 call as run_command
from subprocess import CalledProcessError
from subprocess import check_call as try_to_run_command from subprocess import check_call as try_to_run_command
from subprocess import check_output from subprocess import check_output
from subprocess import DEVNULL
from subprocess import PIPE
from subprocess import Popen as run_background_command
from time import sleep as wait from time import sleep as wait
from urllib import request as url_request from urllib import request as url_request
from zipfile import ZipFile from zipfile import ZipFile