fix coverage

This commit is contained in:
Maximilian Hils 2019-11-18 05:19:06 +01:00
parent dd556f052b
commit 7bf06f8ae0
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import typing
from mitmproxy import exceptions from mitmproxy import exceptions
from mitmproxy import flow from mitmproxy import flow
if typing.TYPE_CHECKING: if typing.TYPE_CHECKING: # pragma: no cover
from mitmproxy.command import CommandManager from mitmproxy.command import CommandManager

View File

@ -18,6 +18,8 @@ show_missing = True
exclude_lines = exclude_lines =
pragma: no cover pragma: no cover
raise NotImplementedError() raise NotImplementedError()
if typing.TYPE_CHECKING:
if TYPE_CHECKING:
[mypy-mitmproxy.contrib.*] [mypy-mitmproxy.contrib.*]
ignore_errors = True ignore_errors = True