一键导入
typecheck
Run the strict mypy type-check gate for this repo and summarize failures. Use after editing Python in this project or before committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the strict mypy type-check gate for this repo and summarize failures. Use after editing Python in this project or before committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | typecheck |
| description | Run the strict mypy type-check gate for this repo and summarize failures. Use after editing Python in this project or before committing. |
The [tool.mypy] section of pyproject.toml enforces strict typing
(disallow_untyped_defs, disallow_untyped_calls, disallow_any_generics).
Run it via uv and report concisely.
Type-check the project-owned modules only — the vendored facefusion/
package is upstream code and is not part of this gate:
uv run mypy config.py main_serve.py facefusion_job.py models.py
(Add any new top-level project module you introduce. Do not run bare
mypy . — it pulls in the large vendored facefusion/ tree.)
Summarize results: total errors, then group by file with the specific line/message. If clean, say so.
For any failure, propose the minimal typed fix (annotate signatures, narrow
Optional, avoid bare Any) consistent with the existing code.