pylint can’t find QWidget and QApplication

(Ubuntu) I’ve created a ~/.pylintrc file and added there

[MASTER]
extension-pkg-whitelist=PyQt5

It is more convenient. And now pylint applies this configuration even in my Visual Studio Code editor.

Or in VSCode settings:

"python.linting.pylintArgs": [
    "--extension-pkg-whitelist=PyQt5"
],

Leave a Comment