ADjust check_coverage for api/

This commit is contained in:
Florian Bruhin 2018-12-03 08:49:10 +01:00
parent d01672bab7
commit b0ae4deac8
2 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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',