diff --git a/setup.cfg b/setup.cfg index a800ae1f9..c9c19704f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,7 +17,8 @@ omit = *contrib*, *tnetstring*, *platform*, *main.py show_missing = True exclude_lines = pragma: no cover - raise NotImplementedError() + raise NotImplementedError + raise AssertionError if typing.TYPE_CHECKING: if TYPE_CHECKING: @overload diff --git a/tox.ini b/tox.ini index 9fba58756..8112fdd95 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,7 @@ deps = setenv = HOME = {envtmpdir} commands = mitmdump --version - pytest --timeout 60 --cov-report xml \ + pytest --timeout 60 -v --cov-report xml \ --cov=mitmproxy --cov=pathod --cov=release \ --full-cov=mitmproxy/ --full-cov=pathod/ \ {posargs}