Bump dependencies & add 3.12/13 support

This commit is contained in:
Andras Schmelczer 2026-10-27 16:17:58 +00:00
commit 6a8d669755
2 changed files with 130 additions and 85 deletions

View file

@ -94,11 +94,9 @@ class ConfigFile(Mapping[str, str]):
try:
value = next(v for v in values if v)
except StopIteration:
raise ParseError(
f"""Cannot parse config file ({
raise ParseError(f"""Cannot parse config file ({
self._path.absolute()
}), error at key `{key}`"""
)
}), error at key `{key}`""")
already_exists = key in self._key_values
if already_exists and not value.startswith(

View file

@ -39,11 +39,9 @@ def manage_communication(
is_iteration_over = True
except Exception as e:
if ignore_exceptions:
logger.error(
f"""Exception {e} encountered in input, traceback:\n{
logger.error(f"""Exception {e} encountered in input, traceback:\n{
traceback.format_exc()
}"""
)
}""")
else:
raise