Skip to content

Commit bbd1f12

Browse files
committed
fix: exclude async code from Python 3.7 coverage
1 parent 734add5 commit bbd1f12

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.coveragerc-py37

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,18 @@
44
# This file is only used by py37-* tox environments
55
omit =
66
*/functions_framework/aio/*
7+
*/functions_framework/_http/asgi.py
78
*/.tox/*
89
*/tests/*
910
*/venv/*
10-
*/.venv/*
11+
*/.venv/*
12+
13+
[report]
14+
exclude_lines =
15+
# Have to re-enable the standard pragma
16+
pragma: no cover
17+
18+
# Don't complain about async-specific imports and code
19+
from functions_framework.aio import
20+
from functions_framework._http.asgi import
21+
from functions_framework._http.gunicorn import UvicornApplication

0 commit comments

Comments
 (0)