I'm using VS Code and when I use pygame.init()
this error appears:
Module 'pygame' has no 'init' member
I tried to add --extension-pkg-whitelist=pygame
to python.linting.pylintArgs
in the settings and the error stopped, but then almost all of my code turns blue and says those errors:
Constant name "grid1" doesn't conform to UPPER_CASE naming stylepylint(invalid-name)
Edit: So this is a linter warning, I would like to remove but when I tried using the method above, everything gets a blue line under it.
My OS is Windows 10 and I'm using the latest python version and latest pygame version.