I know that this thread is 2 years old but it was modified a month ago so I am posting. Just go with basedpyright. it is open source and works just as good as pylance in most situations. Just installation on arch is bit sketchy so I had to use AI for help.