Skip to content

Commit fbec7b9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 93ea521 commit fbec7b9

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

examples/pr_notifier/notifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def from_github(review: dict[str, Any]):
111111

112112
@staticmethod
113113
def from_gitlab_action(
114-
action: Literal["approval", "approved", "unapproval", "unapproved"]
114+
action: Literal["approval", "approved", "unapproval", "unapproved"],
115115
):
116116
"""Creates from a GitLab action."""
117117
return Review(

scw_serverless/loader.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ def load_app_instance(file: Path) -> Serverless:
4646
app_instance = member[1]
4747

4848
if not app_instance: # No variable with type "Serverless" found
49-
raise RuntimeError(
50-
f"""Unable to locate an instance of serverless App
51-
in the provided file: {file}."""
52-
)
49+
raise RuntimeError(f"""Unable to locate an instance of serverless App
50+
in the provided file: {file}.""")
5351

5452
return app_instance

0 commit comments

Comments
 (0)