svc: Set venv path for Pyright
All checks were successful
dustin/hudctrl/pipeline/head This commit looks good
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:
@@ -61,3 +61,7 @@ warn_return_any = true
|
|||||||
module = 'hudctrl.api'
|
module = 'hudctrl.api'
|
||||||
disallow_untyped_defs = false
|
disallow_untyped_defs = false
|
||||||
disallow_incomplete_defs = false
|
disallow_incomplete_defs = false
|
||||||
|
|
||||||
|
[tool.pyright]
|
||||||
|
venvPath = '.'
|
||||||
|
venv = '.venv'
|
||||||
|
|||||||
Reference in New Issue
Block a user