svc: Set venv path for Pyright
All checks were successful
dustin/hudctrl/pipeline/head This commit looks good

Need to set the path to the Python venv for Pyright in order to get
valid diagnostics in Neovim.
This commit is contained in:
2022-08-01 22:19:53 -05:00
parent 70956d540e
commit 949d180edd

View File

@@ -61,3 +61,7 @@ warn_return_any = true
module = 'hudctrl.api'
disallow_untyped_defs = false
disallow_incomplete_defs = false
[tool.pyright]
venvPath = '.'
venv = '.venv'