VS Code in Preferences: Open Settings (JSON) and adding this line to the dict: "python.linting.pylintArgs": ["--errors-only,--extension-pkg-whitelist=PyQt5"]