Restyled by reorder-python-imports

This commit is contained in:
Restyled.io 2020-07-12 20:32:19 +00:00
parent de87a73809
commit 978856d14d
8 changed files with 57 additions and 35 deletions

View File

@ -4,18 +4,30 @@
# This is free software, and you are welcome to redistribute it # This is free software, and you are welcome to redistribute it
# under certain conditions; you can read LICENSE for details. # under certain conditions; you can read LICENSE for details.
# #
import os import os
import Defs.LocalizationManager.lang_action_manager.lang_server.lang_server_runner as localization import Defs.LocalizationManager.lang_action_manager.lang_server.lang_server_runner 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.ActionManager import simple_informant from Defs.ActionManager import simple_informant
from Defs.ImportManager.unsorted_will_be_replaced import ( from Defs.ImportManager.unsorted_will_be_replaced import BytesIO
DEVNULL, PIPE, BytesIO, CalledProcessError, ZipFile, chdir, check_output, from Defs.ImportManager.unsorted_will_be_replaced import CalledProcessError
chmod, ngrok, ngrok_conf, path, pathlib_Path, regular_expression, requests, from Defs.ImportManager.unsorted_will_be_replaced import chdir
run_background_command, run_command, url_request, wait) from Defs.ImportManager.unsorted_will_be_replaced import check_output
from Defs.ImportManager.unsorted_will_be_replaced import chmod
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 pathlib_Path
from Defs.ImportManager.unsorted_will_be_replaced import PIPE
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

@ -4,19 +4,22 @@
# This is free software, and you are welcome to redistribute it # This is free software, and you are welcome to redistribute it
# under certain conditions; you can read LICENSE for details. # under certain conditions; you can read LICENSE for details.
# #
import os import os
import time 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 (chmod, copyfile, from Defs.ImportManager.unsorted_will_be_replaced import chmod
mkdir, path, from Defs.ImportManager.unsorted_will_be_replaced import copyfile
pathlib_Path, remove, from Defs.ImportManager.unsorted_will_be_replaced import mkdir
rmtree, run_command, from Defs.ImportManager.unsorted_will_be_replaced import path
wait, webpage_set) from Defs.ImportManager.unsorted_will_be_replaced import pathlib_Path
from Defs.ImportManager.unsorted_will_be_replaced import remove
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

@ -4,21 +4,23 @@
# This is free software, and you are welcome to redistribute it # This is free software, and you are welcome to redistribute it
# under certain conditions; you can read LICENSE for details. # under certain conditions; you can read LICENSE for details.
# #
import Defs.ActionManager.Server.server_runner as server_runner import Defs.ActionManager.Server.server_runner as server_runner
import Defs.FeatureManager.EmailManager.email_prompt as email_prompt 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, copyfile, from Defs.ImportManager.unsorted_will_be_replaced import chmod
getuid, pathlib_Path, from Defs.ImportManager.unsorted_will_be_replaced import copyfile
platform, from Defs.ImportManager.unsorted_will_be_replaced import getuid
regular_expression, from Defs.ImportManager.unsorted_will_be_replaced import pathlib_Path
requests, from Defs.ImportManager.unsorted_will_be_replaced import platform
run_command, socket, from Defs.ImportManager.unsorted_will_be_replaced import regular_expression
stat, from Defs.ImportManager.unsorted_will_be_replaced import requests
try_to_run_command, from Defs.ImportManager.unsorted_will_be_replaced import run_command
wait) from Defs.ImportManager.unsorted_will_be_replaced import socket
from Defs.ImportManager.unsorted_will_be_replaced import stat
from Defs.ImportManager.unsorted_will_be_replaced import try_to_run_command
from Defs.ImportManager.unsorted_will_be_replaced import wait
default_palette = theme.default_palette default_palette = theme.default_palette

View File

@ -4,8 +4,6 @@
# This is free software, and you are welcome to redistribute it # This is free software, and you are welcome to redistribute it
# under certain conditions; you can read LICENSE for details. # under certain conditions; you can read LICENSE for details.
# #
import base64 import base64
import getpass import getpass
import platform import platform
@ -13,14 +11,25 @@ import re as regular_expression
import socket import socket
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, chmod, getuid, mkdir, path, remove, replace, stat, system from os import chdir
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 stat
from os import system
from pathlib import Path as pathlib_Path from pathlib import Path as pathlib_Path
from shutil import copyfile, rmtree from shutil import copyfile
from subprocess import DEVNULL, PIPE, CalledProcessError from shutil import rmtree
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

View File

@ -4,8 +4,6 @@
# This is free software, and you are welcome to redistribute it # This is free software, and you are welcome to redistribute it
# under certain conditions; you can read LICENSE for details. # under certain conditions; you can read LICENSE for details.
# #
# Contains all ActionManager/main_runner.py translation strings # Contains all ActionManager/main_runner.py translation strings
import Defs.ThemeManager.theme as theme import Defs.ThemeManager.theme as theme
from Defs.LocalizationManager.localization import _ from Defs.LocalizationManager.localization import _

View File

@ -4,7 +4,6 @@
# This is free software, and you are welcome to redistribute it # This is free software, and you are welcome to redistribute it
# 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.LocalizationManager.localization import _ from Defs.LocalizationManager.localization import _

View File

@ -4,8 +4,6 @@
# This is free software, and you are welcome to redistribute it # This is free software, and you are welcome to redistribute it
# 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.LocalizationManager.localization import _ from Defs.LocalizationManager.localization import _

View File

@ -7,7 +7,8 @@
import multiprocessing import multiprocessing
import ssl import ssl
import sys import sys
from os import environ, system from os import environ
from os import system
import Defs.ActionManager.main_runner as main_runner import Defs.ActionManager.main_runner as main_runner
import Defs.ActionManager.Server.server_runner as server_runner import Defs.ActionManager.Server.server_runner as server_runner