Make pylint shut up
This commit is contained in:
parent
22be46e7d3
commit
d2a3541d6e
@ -160,8 +160,10 @@ def pytest_configure(config):
|
||||
webengine_env = os.environ.get('QUTE_BDD_WEBENGINE', '')
|
||||
config.webengine = bool(webengine_arg or webengine_env)
|
||||
# Fail early if QtWebEngine is not available
|
||||
# pylint: disable=no-name-in-module,unused-variable,useless-suppression
|
||||
if config.webengine:
|
||||
import PyQt5.QtWebEngineWidgets
|
||||
# pylint: enable=no-name-in-module,unused-variable,useless-suppression
|
||||
|
||||
|
||||
@pytest.fixture(scope='session', autouse=True)
|
||||
|
Loading…
Reference in New Issue
Block a user