Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 14, 2024
1 parent 68337f9 commit d0bba86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cloudevents/core/v1/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def __init__(self, errors: dict[str, list[BaseCloudEventException]]) -> None:

def __str__(self) -> str:
error_messages = [
f"{key}: {', '.join(str(e) for e in value)}" for key, value in self.errors.items()
f"{key}: {', '.join(str(e) for e in value)}"
for key, value in self.errors.items()
]
return f"{super().__str__()}: {', '.join(error_messages)}"

Expand Down

0 comments on commit d0bba86

Please sign in to comment.