Improve output formatting
Github annotations require all output to be on a single line, so let's make the log messages do that
This commit is contained in:
@@ -124,6 +124,8 @@ class Logger:
|
||||
c = self.colors
|
||||
print(f'{c.yellow}Warning{c.end} {message}')
|
||||
|
||||
print()
|
||||
|
||||
def error(self, error: Union[BaseException, str]) -> None:
|
||||
print()
|
||||
|
||||
@@ -133,6 +135,8 @@ class Logger:
|
||||
c = self.colors
|
||||
print(f'{c.bright_red}Error{c.end} {error}')
|
||||
|
||||
print()
|
||||
|
||||
def _start_fold_group(self, name: str) -> None:
|
||||
self._end_fold_group()
|
||||
self.active_fold_group_name = name
|
||||
|
||||
Reference in New Issue
Block a user