[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-11-14 10:24:26 +00:00
parent 68337f9adc
commit d0bba86277
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ class CloudEventValidationError(BaseCloudEventException):
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)}"