Handle qute:... handlers in run_vulture.

This commit is contained in:
Florian Bruhin 2015-11-04 17:45:16 +01:00
parent 939e95b344
commit ac10fbc095

View File

@ -33,6 +33,7 @@ import qutebrowser.app # pylint: disable=unused-import
from qutebrowser.commands import cmdutils
from qutebrowser.utils import utils
from qutebrowser.browser import rfc6266
from qutebrowser.browser.network import qutescheme
def whitelist_generator():
@ -71,6 +72,10 @@ def whitelist_generator():
yield 'PyQt5.QtGui.QAbstractTextDocumentLayout.PaintContext().clip'
yield 'PyQt5.QtWidgets.QStyleOptionViewItem.backgroundColor'
# qute:... handlers
for func in qutescheme.HANDLERS.values():
yield 'qutebrowser.browser.network.qutescheme.' + func.__name__
# Globals
# https://bitbucket.org/jendrikseipp/vulture/issues/10/
yield 'qutebrowser.misc.utilcmds.pyeval_output'