diff --git a/methods/methods_get_parameters_from_ini_file.py b/methods/methods_get_parameters_from_ini_file.py index 16ef571..770eeb5 100644 --- a/methods/methods_get_parameters_from_ini_file.py +++ b/methods/methods_get_parameters_from_ini_file.py @@ -4,16 +4,17 @@ from .methods_check_inputs import ( check_pypi_package_name, + transform_url, validate_email, validate_package_name, validate_python_version, validate_required_packages, validate_url, - transform_url, ) def read_config_to_dict(file_path: str) -> dict: + """"Read a configuration file and returns its contents as a dictionary, excluding the 'DOCUMENTATION' section.""" config = configparser.ConfigParser() config.read(file_path) @@ -29,7 +30,6 @@ def read_config_to_dict(file_path: str) -> dict: def get_parameters_from_ini_file(ini_file: str) -> dict: """Get the parameters from an ini file.""" - parameters = read_config_to_dict(ini_file) # %% Package name