修复 SQLAlchemy 模型的类型注解,使用 Mapped 类型避免类型检查器错误 - 修正异步数据库操作中缺少 await 的问题 - 优化反注入统计系统的数值字段处理逻辑 - 添加缺失的导入语句修复模块依赖问题
32 lines
720 B
JSON
32 lines
720 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json",
|
|
"include": [
|
|
"src",
|
|
"bot.py",
|
|
"__main__.py"
|
|
],
|
|
"exclude": [
|
|
"**/__pycache__",
|
|
"data",
|
|
"logs",
|
|
"tests",
|
|
"target",
|
|
"*.egg-info"
|
|
],
|
|
"typeCheckingMode": "standard",
|
|
"reportMissingImports": false,
|
|
"reportMissingTypeStubs": false,
|
|
"reportMissingModuleSource": false,
|
|
"diagnosticSeverityOverrides": {
|
|
"reportMissingImports": "none",
|
|
"reportMissingTypeStubs": "none",
|
|
"reportMissingModuleSource": "none"
|
|
},
|
|
"pythonVersion": "3.12",
|
|
"venvPath": ".",
|
|
"venv": ".venv",
|
|
"executionEnvironments": [
|
|
{"root": "src"}
|
|
]
|
|
}
|