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.
Python
Community rubric · v1
The evidence
One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.
Latest evidence review ·
Definition
VerifiedThe getting-started guide defines the contract of a typed argument and shows mismatched calls that violate it.
Measurement
VerifiedIn its greeting example, passing an integer to a string parameter produces an argument-type diagnostic, while the string call type-checks.
Conformance
VerifiedThe function-checking suite pairs annotated calls with expected diagnostics, including incompatible argument types, excess arguments and missing arguments.
CI enforcement
UnknownNo reviewed evidence is recorded for this dimension.
Can a change trigger a useful check? Contribute evidence ↗
Getting started
VerifiedThe guide walks from installing mypy to invoking it on a sample Python file and reading the reported type errors.
Real-world adoption
UnknownNo reviewed evidence is recorded for this dimension.
Has another team put it to work? Contribute evidence ↗
Agent guidance
UnknownNo reviewed evidence is recorded for this dimension.
Can an agent act on a specific finding? Contribute evidence ↗
Agent portability
UnknownNo reviewed evidence is recorded for this dimension.
Does the practice work in two agent harnesses? Contribute evidence ↗
Use this standard
Run the check with the tool installed and configured for your project.
mypy .
Agent prompt
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.