Commit b0a4d2f
fix: 修复 mypy 类型检查错误
- 添加 types-psutil 依赖
- 配置 mypy 忽略 _pytest 和 pytest 目录
- 添加 psutil 的 ignore_missing_imports
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>1 parent 6e85f7a commit b0a4d2f
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| 165 | + | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
| |||
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
173 | 179 | | |
174 | 180 | | |
175 | 181 | | |
| |||
0 commit comments