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:
parent
6d02ef68ec
commit
be0eb0b1cd
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user