Add Pyright configuration to pyproject.toml for improved type checking and environment management
This commit is contained in:
1 parent
3790fa6e88
commit
dc4f61a97a
3 files changed
+25
No files matched your search
@@ -37,3 +37,8 @@ dev = [
|
||||
"pytest-asyncio>=0.24.0",
|
||||
"httpx>=0.27.0",
|
||||
]
|
||||
|
||||
[tool.basedpyright]
|
||||
venvPath = "."
|
||||
venv = ".venv"
|
||||
executionEnvironments = [{ root = "." }]
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"venvPath": ".",
|
||||
"venv": ".venv",
|
||||
"executionEnvironments": [
|
||||
{
|
||||
"root": "."
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"executionEnvironments": [
|
||||
{
|
||||
"root": "backend",
|
||||
"venvPath": "backend",
|
||||
"venv": ".venv"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user