[PyQt] PyQt and pylint with "no-name-in-module"
me at the-compiler.org
Sun Jul 2 15:11:46 BST 2017
On Sun, Jul 02, 2017 at 03:28:10PM +0200, Gottfried Müller wrote:
> What is the reason for this behaviour of pylint to the PyQt system? And is
> there another way to prevent this? I could not find any information in the
> documentation http://pyqt.sourceforge.net/Docs/PyQt5. It would be helpful.
pylint doesn't load any C extensions by default, because those can run
arbitrary code. Since you probably trust PyQt, run pylint with
--extension-pkg-whitelist=PyQt, or put that in your .pylintrc under
https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the PyQt