Also, Microsoft does not allow use of their LSP for python. You have to use the barebones Jedi LSP.
Fortunately, there are competing LSPs of reasonable quality now. I'm using pyrefly. Not sure if ty/ruff have one too.
This very company being acquired (astral) is up to fix this, by making the ty lsp server available
Fortunately, there are competing LSPs of reasonable quality now. I'm using pyrefly. Not sure if ty/ruff have one too.