diff --git a/scripts/dev/run_vulture.py b/scripts/dev/run_vulture.py index 81c672aea..4d9805332 100644 --- a/scripts/dev/run_vulture.py +++ b/scripts/dev/run_vulture.py @@ -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'