# mypy

Check Python interfaces statically

Start with typed public interfaces and check callers across package boundaries. Record third-party stub versions so local checks match CI.

Category: Type safety
Languages: Python

## Standard evidence

Rubric v1 · 4/8 verified · 4 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — The getting-started guide defines the contract of a typed argument and shows mismatched calls that violate it. Reviewed 2026-11-28. [Cited source](https://mypy.readthedocs.io/en/stable/getting_started.html)
- **Measurement** (verified) — In its greeting example, passing an integer to a string parameter produces an argument-type diagnostic, while the string call type-checks. Reviewed 2026-11-28. [Cited source](https://mypy.readthedocs.io/en/stable/getting_started.html)
- **Conformance** (verified) — The function-checking suite pairs annotated calls with expected diagnostics, including incompatible argument types, excess arguments and missing arguments. Reviewed 2026-11-28. [Cited source](https://github.com/python/mypy/blob/master/test-data/unit/check-functions.test)
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
  - Can a change trigger a useful check? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+mypy+%C2%B7+CI+enforcement&body=Practice%3A+mypy%0ACriterion%3A+ci+%28rubric+v1%29%0ACan+a+change+trigger+a+useful+check%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Getting started** (verified) — The guide walks from installing mypy to invoking it on a sample Python file and reading the reported type errors. Reviewed 2026-11-28. [Cited source](https://mypy.readthedocs.io/en/stable/getting_started.html)
- **Real-world adoption** (unknown) — No reviewed evidence is recorded for this dimension.
  - Has another team put it to work? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+mypy+%C2%B7+Real-world+adoption&body=Practice%3A+mypy%0ACriterion%3A+adoption+%28rubric+v1%29%0AHas+another+team+put+it+to+work%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
  - Can an agent act on a specific finding? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+mypy+%C2%B7+Agent+guidance&body=Practice%3A+mypy%0ACriterion%3A+guidance+%28rubric+v1%29%0ACan+an+agent+act+on+a+specific+finding%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.
  - Does the practice work in two agent harnesses? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+mypy+%C2%B7+Agent+portability&body=Practice%3A+mypy%0ACriterion%3A+portability+%28rubric+v1%29%0ADoes+the+practice+work+in+two+agent+harnesses%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)

## Adoption

Use mypy in this repository to meet this standard: Check Python interfaces statically. Start with typed public interfaces and check callers across package boundaries. Record third-party stub versions so local checks match CI. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

### Tool command

```
mypy .
```

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://mypy.readthedocs.io/)
- [Agent skill](/skills/mypy/SKILL.md)
