Add Pyright configuration to pyproject.toml for improved type checking and environment management

This commit is contained in:
extreme committed 2026-03-09 14:23:22 +08:00
1 parent 3790fa6e88
commit dc4f61a97a
3 files changed
+25

No files matched your search

+5
View File
@@ -37,3 +37,8 @@ dev = [
"pytest-asyncio>=0.24.0",
"httpx>=0.27.0",
]
[tool.basedpyright]
venvPath = "."
venv = ".venv"
executionEnvironments = [{ root = "." }]
+10
View File
@@ -0,0 +1,10 @@
{
"venvPath": ".",
"venv": ".venv",
"executionEnvironments": [
{
"root": "."
}
]
}
+10
View File
@@ -0,0 +1,10 @@
{
"executionEnvironments": [
{
"root": "backend",
"venvPath": "backend",
"venv": ".venv"
}
]
}