Skip to content

Enforce latests syntax on CI #351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 8, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! Enforce latests syntax on CI
  • Loading branch information
mik-laj committed Jun 6, 2021
commit b9262bbecfc0d16dc53d2a8de4e772bcc86ffeb1
6 changes: 3 additions & 3 deletions openapi_core/templating/media_types/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ class MediaTypeNotFound(MediaTypeFinderError):

def __str__(self):
return (
"Content for the following mimetype not found: {}. "
"Valid mimetypes: {}"
).format(self.mimetype, self.availableMimetypes)
f"Content for the following mimetype not found: {self.mimetype}. "
f"Valid mimetypes: {self.availableMimetypes}"
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add newline at the end of file