diff --git a/src/gallia/log.py b/src/gallia/log.py index c224de74b..9f1a5ded9 100644 --- a/src/gallia/log.py +++ b/src/gallia/log.py @@ -407,7 +407,9 @@ def _format_record( # noqa: PLR0913 if volatile_info and levelno <= Loglevel.INFO: terminal_width, _ = shutil.get_terminal_size() - msg = msg[: terminal_width + extra_len - 1] # Adapt length to invisible ANSI colors + msg = msg[ + : terminal_width + extra_len - 1 + ] # Adapt length to invisible ANSI colors msg += _Color.RESET.value msg += "\r" else: