Add max deps and bump old ones
All checks were successful
Publish documentation / publish (push) Successful in 51s
Check / Test on Python 3.10 (push) Successful in 1m1s
Check / Lint, format & type checks (push) Successful in 1m9s
Check / Test on Python 3.11 (push) Successful in 51s
Check / Test on Python 3.12 (push) Successful in 58s
Check / Test on Python 3.13 (push) Successful in 55s
All checks were successful
Publish documentation / publish (push) Successful in 51s
Check / Test on Python 3.10 (push) Successful in 1m1s
Check / Lint, format & type checks (push) Successful in 1m9s
Check / Test on Python 3.11 (push) Successful in 51s
Check / Test on Python 3.12 (push) Successful in 58s
Check / Test on Python 3.13 (push) Successful in 55s
This commit is contained in:
parent
2403a20ed0
commit
c55eba2077
18 changed files with 98 additions and 75 deletions
|
|
@ -94,9 +94,11 @@ 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(
|
||||
|
|
|
|||
|
|
@ -39,9 +39,11 @@ 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
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ from typing import (
|
|||
Awaitable,
|
||||
Callable,
|
||||
Iterable,
|
||||
Literal,
|
||||
Optional,
|
||||
Sequence,
|
||||
TypeVar,
|
||||
|
|
@ -11,7 +12,6 @@ from typing import (
|
|||
)
|
||||
|
||||
import dill
|
||||
from typing_extensions import Literal # <= Python 3.7
|
||||
|
||||
from .get_config import get_config
|
||||
from .manage_communication import manage_communication
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ from typing import (
|
|||
Awaitable,
|
||||
Callable,
|
||||
Iterable,
|
||||
Literal,
|
||||
Optional,
|
||||
Sequence,
|
||||
TypeVar,
|
||||
|
|
@ -11,8 +12,6 @@ from typing import (
|
|||
overload,
|
||||
)
|
||||
|
||||
from typing_extensions import Literal # <= Python 3.7
|
||||
|
||||
from .get_config import get_config
|
||||
from .manage_communication import manage_communication
|
||||
from .mapper_function import mapper_function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue