From be0eb0b1cd7e55b6486bc9aa1768eacfe197d114 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sun, 20 Dec 2015 20:08:24 +0100 Subject: [PATCH] Add pdfjs.is_available to vulture whitelist vulture reports it as a false-positive, it's used in the tests but not picked up by vulture. --- scripts/dev/run_vulture.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/dev/run_vulture.py b/scripts/dev/run_vulture.py index 6eed9a612..fab4a7b74 100755 --- a/scripts/dev/run_vulture.py +++ b/scripts/dev/run_vulture.py @@ -89,6 +89,7 @@ def whitelist_generator(): yield 'qutebrowser.utils.log.VDEBUG' yield 'qutebrowser.utils.log.QtWarningFilter.filter' yield 'logging.LogRecord.log_color' + yield 'qutebrowser.browser.pdfjs.is_available' # vulture doesn't notice the hasattr() and thus thinks netrc_used is unused # in NetworkManager.on_authentication_required yield 'PyQt5.QtNetwork.QNetworkReply.netrc_used'