mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-29 02:57:19 +00:00
fix coverage
This commit is contained in:
parent
dd556f052b
commit
7bf06f8ae0
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user