# Mypy

> Mypy

- Skill: `rootwarp/mypy` (Agent Skill)
- Install (CLI): `npx skillmds@latest add rootwarp/mypy`
- Raw SKILL.md: https://api.skillmd.com/api/skills/rootwarp/mypy/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: rootwarp (https://skillmd.com/u/rootwarp)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/rootwarp/mypy

---

# /mypy

Run type checking on the Python project using uv.

## Instructions

Run mypy for type checking:

```bash
uv run mypy src/
```

Or check specific files:

```bash
uv run mypy src/<package_name>/main.py
```

For strict mode:

```bash
uv run mypy --strict src/
```

Common options:

```bash
# Show error codes
uv run mypy --show-error-codes src/

# Ignore missing imports
uv run mypy --ignore-missing-imports src/

# Generate HTML report
uv run mypy --html-report mypy-report src/
```

Analyze any type errors and suggest fixes with proper type annotations.

