From 310367a026873d40e30b6eb441a5573ccf369d16 Mon Sep 17 00:00:00 2001 From: AHReccese Date: Mon, 22 Jul 2024 21:46:40 +0330 Subject: [PATCH] re-order imports and add chardet --- reserver/reserver_obj.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/reserver/reserver_obj.py b/reserver/reserver_obj.py index 1d355d7..08110d0 100644 --- a/reserver/reserver_obj.py +++ b/reserver/reserver_obj.py @@ -1,11 +1,12 @@ # -*- coding: utf-8 -*- """Reserver modules.""" -from .reserver_func import does_package_exist, generate_template_setup_py -from .util import has_named_parameter, remove_dir -from os import environ, path, getcwd, remove +import chardet +from re import sub from sys import executable +from os import environ, path, getcwd, remove +from .util import has_named_parameter, remove_dir from subprocess import check_output, CalledProcessError -from re import sub +from .reserver_func import does_package_exist, generate_template_setup_py class PyPIUploader: