Feature Request: Automatically Use project.requires-python
as pythonVersion
in Basedpyright Configuration
#921
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
This feature request proposes that Basedpyright should automatically use the
requires-python
field from the[project]
section ofpyproject.toml
as the default value for thepythonVersion
setting in the[tool.basedpyright]
section. This would ensure consistency between the project's required Python version and the version used by Basedpyright for static analysis.Related Issue:
microsoft/pyright#7561
The text was updated successfully, but these errors were encountered: