Imports failing in VScode for pylint when importing pygame
问题 When importing pygame pylint is going crazy: E1101:Module 'pygame' has no 'init' member E1101:Module 'pygame' has no 'QUIT' member I have searched the net and I have found this: "python.linting.pylintArgs": ["--ignored-modules=pygame"] It solves the problem with pygame, but now pylint is going crazy in other way: crazy_pylint.png. Then I have found "python.linting.pylintArgs": ["--ignored-files=pygame"] , but what it does is completely disabling pylint for the whole directory I am working in.