Skip to content

Commit d43f109

Browse files
committed
style: fix black formatting
1 parent 2c4e880 commit d43f109

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

conftest.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ def pytest_ignore_collect(collection_path, config):
5151
return None
5252

5353
# Skip test_aio.py, test_asgi.py, and test_execution_id_async.py entirely on Python 3.7
54-
if collection_path.name in ["test_aio.py", "test_asgi.py", "test_execution_id_async.py"]:
54+
if collection_path.name in [
55+
"test_aio.py",
56+
"test_asgi.py",
57+
"test_execution_id_async.py",
58+
]:
5559
return True
5660

5761
return None

src/functions_framework/aio/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,6 @@ async def _handle_not_found(request: Request):
180180
raise HTTPException(status_code=404, detail="Not Found")
181181

182182

183-
184-
185183
def _configure_app_execution_id_logging():
186184
import logging
187185
import logging.config

tests/test_functions/execution_id/async_main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,7 @@ async def async_trace_test(request):
4747
# Sync function to test the sync branch in async decorator
4848
def sync_function_in_async_context(request):
4949
"""A sync function that can be called from async context."""
50-
return {"execution_id": request.headers.get("Function-Execution-Id"), "type": "sync"}
50+
return {
51+
"execution_id": request.headers.get("Function-Execution-Id"),
52+
"type": "sync",
53+
}

0 commit comments

Comments
 (0)