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.
This commit is contained in:
Daniel Schadt 2015-12-20 20:08:24 +01:00
parent 6d02ef68ec
commit be0eb0b1cd

View File

@ -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'