diff --git a/qutebrowser/api/config.py b/qutebrowser/api/config.py index 6558cf42a..d45703242 100644 --- a/qutebrowser/api/config.py +++ b/qutebrowser/api/config.py @@ -22,7 +22,7 @@ import typing MYPY = False -if MYPY: +if MYPY: # pragma: no cover # pylint: disable=unused-import,useless-suppression from qutebrowser.config import config diff --git a/scripts/dev/check_coverage.py b/scripts/dev/check_coverage.py index 8d0647b0d..62c0b5142 100644 --- a/scripts/dev/check_coverage.py +++ b/scripts/dev/check_coverage.py @@ -53,11 +53,18 @@ MsgType = enum.Enum('MsgType', 'insufficent_coverage, perfect_file') PERFECT_FILES = [ (None, 'commands/cmdexc.py'), - ('tests/unit/api/test_cmdutils.py', - 'api/cmdutils.py'), ('tests/unit/commands/test_argparser.py', 'commands/argparser.py'), + ('tests/unit/api/test_cmdutils.py', + 'api/cmdutils.py'), + (None, + 'api/apitypes.py'), + (None, + 'api/config.py'), + (None, + 'api/message.py'), + ('tests/unit/browser/webkit/test_cache.py', 'browser/webkit/cache.py'), ('tests/unit/browser/webkit/test_cookies.py',