Skip to content

Commit

Permalink
remove unnecessary noqa: E501
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-code committed Jun 27, 2024
1 parent cfe55ec commit 149d71e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/renku_data_services/session/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ async def insert_launcher(
resource_class = res.one_or_none()
if resource_class is None:
raise errors.MissingResourceError(
message=f"Resource class with id '{resource_class_id}' does not exist." # noqa: E501
message=f"Resource class with id '{resource_class_id}' does not exist."
)

res_classes = await self.resource_pools.get_classes(api_user=user, id=resource_class_id)
Expand Down Expand Up @@ -270,7 +270,7 @@ async def update_launcher(
environment = res.one_or_none()
if environment is None:
raise errors.MissingResourceError(
message=f"Session environment with id '{environment_id}' does not exist or you do not have access to it." # noqa: E501
message=f"Session environment with id '{environment_id}' does not exist or you do not have access to it."
)

resource_class_id = kwargs.get("resource_class_id")
Expand Down

0 comments on commit 149d71e

Please sign in to comment.