From fb37120d02c57ee6d4972745228cb0d9d1f09844 Mon Sep 17 00:00:00 2001 From: Simon Jones Date: Sat, 11 Nov 2023 17:34:38 -0500 Subject: [PATCH] format: configuration.py --- chasten/configuration.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/chasten/configuration.py b/chasten/configuration.py index 98187159..a3c50b7c 100644 --- a/chasten/configuration.py +++ b/chasten/configuration.py @@ -141,7 +141,9 @@ def validate_configuration_files( # re-parse input config so it is of type Path config_as_path = Path(config) # get directory containing config file - chasten_user_config_dir_str = str(Path(*config_as_path.parts[: len(config_as_path.parts) - 1])) + chasten_user_config_dir_str = str( + Path(*config_as_path.parts[: len(config_as_path.parts) - 1]) + ) # isolate config file chasten_user_config_file_str = str(config_as_path.parts[-1]) else: @@ -194,7 +196,9 @@ def validate_configuration_files( # argument will be supplied as unpacked dict chasten_user_config_file_str_argument = {} if chasten_user_config_file_str != "": - chasten_user_config_file_str_argument["configuration_file"] = chasten_user_config_file_str + chasten_user_config_file_str_argument[ + "configuration_file" + ] = chasten_user_config_file_str # extract the configuration details ( configuration_valid,