I'm using the pygame module on VS Code and I ran into the issue where the pygame has not init member. I followed the solutions to this link. I edited the user settings and added
"python.linting.pylintArgs": [
"--extension-pkg-whitelist=pygame",
"--unsafe-load-any-extension=y"
]
to the end of the json file
The pygame problem was resolved. However, when I use import random
. I get this warning:
Missing module docstringpylint(missing-module-docstring)
How do I make it go away? Also, is there a better way to resolve the init problem of pygame?