Fix vulture

This commit is contained in:
Florian Bruhin 2017-03-16 07:50:23 +01:00
parent d33e590ce5
commit befb1afb2c

View File

@ -86,6 +86,7 @@ def whitelist_generator():
yield 'qutebrowser.browser.pdfjs.is_available'
yield 'QEvent.posted'
yield 'log_stack' # from message.py
yield 'propagate' # logging.getLogger('...).propagate = False
# vulture doesn't notice the hasattr() and thus thinks netrc_used is unused
# in NetworkManager.on_authentication_required
yield 'PyQt5.QtNetwork.QNetworkReply.netrc_used'