Test/lint fixes
This commit is contained in:
parent
410b56447a
commit
4e74fff5e8
@ -25,7 +25,9 @@
|
||||
from PyQt5.QtCore import QRect, Qt, QPoint, QEventLoop
|
||||
from PyQt5.QtGui import QMouseEvent
|
||||
from PyQt5.QtWidgets import QApplication
|
||||
# pylint: disable=no-name-in-module,import-error,useless-suppression
|
||||
from PyQt5.QtWebEngineWidgets import QWebEngineSettings
|
||||
# pylint: enable=no-name-in-module,import-error,useless-suppression
|
||||
|
||||
from qutebrowser.utils import log, javascript
|
||||
from qutebrowser.browser import webelem
|
||||
|
@ -166,6 +166,7 @@ PERFECT_FILES = [
|
||||
WHITELISTED_FILES = [
|
||||
'qutebrowser/browser/webkit/webkitinspector.py',
|
||||
'qutebrowser/keyinput/macros.py',
|
||||
'qutebrowser/browser/webkit/webkitelem.py',
|
||||
]
|
||||
|
||||
|
||||
|
@ -55,7 +55,8 @@ def get_build_exe_options():
|
||||
opts = freeze.get_build_exe_options(skip_html=True)
|
||||
opts['includes'] += pytest.freeze_includes()
|
||||
opts['includes'] += ['unittest.mock', 'PyQt5.QtTest', 'hypothesis', 'bs4',
|
||||
'httpbin', 'jinja2.ext', 'cheroot', 'pstats', 'queue']
|
||||
'httpbin', 'jinja2.ext', 'cheroot', 'pstats', 'queue',
|
||||
'pytest-benchmark']
|
||||
|
||||
httpbin_dir = os.path.dirname(httpbin.__file__)
|
||||
opts['include_files'] += [
|
||||
|
Loading…
Reference in New Issue
Block a user