REA mypy.ini notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

mypy.ini pins mypy type-check identity. In REA 6.7.x, treat selected python_version/strict/warn_* pins as Evidence beside archive/package routes — complementing rea-pyrightconfig without inventing APIs.

Mental model

  1. Authorize the mypy.ini (or [tool.mypy] in pyproject) (+ artifacts you hold).
  2. Quote selected python_version / strict / warn_* / files pins you actually see.
  3. Pyright cousin → rea-pyrightconfig; Ruff → rea-ruff-toml.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a mypy API REA never called.

Minimal path

# authorized mypy.ini or pyproject [tool.mypy] (+ artifact you hold)
# quote selected python_version/strict/warn_* pins into case notes
# cousins → pyrightconfig / ruff-toml / ruff-config
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_mypy .

Compare

ArtifactHonest posture
mypy.ini / [tool.mypy]Type-check identity facts
Pyright cousinrea-pyrightconfig
Ruff cousinrea-ruff-toml
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_mypy / automatic type runs.
  • No credential theft from config secrets / env.
  • No pirate redistribution of paid packages.
  • No crack framing via mypy pins.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-pyrightconfig?

rea-pyrightconfig covers Pyright/Pylance pins. This page zooms on mypy.ini / [mypy] identity as Evidence — it does not overwrite that page.

Is there inspect_mypy in 6.7.0?

Not assumed. Quote mypy.ini python_version/strict/warn_* pins you actually open. Do not invent inspect_mypy.

Does REA run mypy or talk to type-checker services?

No. Local trees only. No credential theft.

mypy.ini vs pyproject [tool.mypy]?

Label Evidence by the file present. Either can pin mypy; quote what you open.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources