forked from GoogleCloudPlatform/functions-framework-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coveragerc-py37
More file actions
25 lines (22 loc) · 782 Bytes
/
Copy path.coveragerc-py37
File metadata and controls
25 lines (22 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[run]
# Coverage configuration specifically for Python 3.7 environments
# Excludes the aio module which requires Python 3.8+ (Starlette dependency)
# This file is only used by py37-* tox environments
omit =
*/functions_framework/aio/*
*/functions_framework/_http/asgi.py
*/.tox/*
*/tests/*
*/venv/*
*/.venv/*
[report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about async-specific imports and code
from functions_framework.aio import
from functions_framework._http.asgi import
from functions_framework._http.gunicorn import UvicornApplication
# Exclude async-specific classes and functions in execution_id.py
class AsgiMiddleware:
def set_execution_context_async