ability to specify multiple pythonVersion
s
#8
Labels
config
issues relating to config (pyproject.toml, pyrightconfig.json, LSP config or vscode extension)
rejected upstream
also a bug in pyright/pylance or feature that isn't in pyright/pylance - they refused to address it
type checking / linting
issues relating to existing diagnostic rules or proposals for new diagnostic rules
unreachable
issues about unreachable code (which doesn't get typechecked)
related: #7
Is your feature request related to a problem? Please describe.
as far as i can tell, there's no way to specify multiple python versions, so the following code will result in an unreachable code error:
Describe the solution you'd like
option to specify
pythonVersion
as an array, or to just turn off the inspection entirelyAdditional context
executionEnvironments
seems to only allow you to specify parts of the project that run on different versions, but not multiple possible environments for the whole projectrejected upstream issue: microsoft/pyright#2231
The text was updated successfully, but these errors were encountered: