Skip to content

chore: fix CI failure due for incorrect formatting #108

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 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,8 @@ pytest-coverage.txt
.DS_Store

# reference docs
doc/dist
doc/dist

# IDE files
.idea
.vscode
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
],
"python.linting.pylintPath": "pylint",
"python.envFile": "${workspaceFolder}/venv",
"python.defaultInterpreterPath": "${workspaceFolder}/venv/bin/python3.10",
"editor.formatOnSave": true,
"python.linting.lintOnSave": true,
"python.linting.mypyEnabled": true,
Expand Down
3 changes: 1 addition & 2 deletions example/functions/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ def oncallexample(req: https_fn.CallableRequest):
return "Hello from https on call function example"


@pubsub_fn.on_message_published(
topic="hello",)
@pubsub_fn.on_message_published(topic="hello",)
def onmessagepublishedexample(
event: pubsub_fn.CloudEvent[pubsub_fn.MessagePublishedData]) -> None:
print("Hello from pubsub event:", event)
4 changes: 2 additions & 2 deletions samples/basic_alerts/functions/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
from firebase_functions.alerts import performance_fn


@alerts_fn.on_alert_published(alert_type=alerts_fn.AlertType.BILLING_PLAN_UPDATE
)
@alerts_fn.on_alert_published(
alert_type=alerts_fn.AlertType.BILLING_PLAN_UPDATE)
def onalertpublished(
alert: alerts_fn.AlertEvent[alerts_fn.FirebaseAlertData[
billing_fn.PlanUpdatePayload]]
Expand Down