@@ -49,7 +49,7 @@ def apply_key_value(obj: Mapping[str, Any], key: str, value: Any) -> Mapping[str
4949 sub_property , abc .MutableSequence
5050 ):
5151 raise ConfigurationOverrideError (
52- f"The key ` { key } ` cannot be used "
52+ f"The key ' { key } ' cannot be used "
5353 f"because it overrides another "
5454 f"variable with shorter key! ({ part } , { sub_property } )"
5555 )
@@ -67,7 +67,7 @@ def apply_key_value(obj: Mapping[str, Any], key: str, value: Any) -> Mapping[str
6767 sub_property [index ] = merger .merge (sub_property [index ], value )
6868 except IndexError :
6969 raise ConfigurationOverrideError (
70- f"Invalid override for mutable sequence { key } ; "
70+ f"Invalid override for mutable sequence { key } , "
7171 f"assignment index out of range"
7272 )
7373 else :
@@ -81,7 +81,7 @@ def apply_key_value(obj: Mapping[str, Any], key: str, value: Any) -> Mapping[str
8181 sub_property [last_part ] = value
8282 except TypeError as type_error :
8383 raise ConfigurationOverrideError (
84- f"Invalid assignment { key } -> { value } ; { str (type_error )} "
84+ f"Invalid assignment { key } -> { value } , { str (type_error )} "
8585 )
8686
8787 return obj
0 commit comments