REA pyrightconfig notes (unofficial)

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

pyrightconfig.json pins Pyright/Pylance type-check identity. In REA 6.7.x, treat selected typeCheckingMode/venvPath/include pins as Evidence beside archive/package routes — complementing rea-mypy-ini without inventing APIs.

Mental model

  1. Authorize the pyrightconfig.json (or [tool.pyright]) (+ artifacts you hold).
  2. Quote selected typeCheckingMode / venvPath / include / exclude pins you actually see.
  3. mypy cousin → rea-mypy-ini; Ruff → rea-ruff-toml.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a pyright API REA never called.

Minimal path

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

Compare

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

Scope we will not cover

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

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

FAQ

How is this different from rea-mypy-ini?

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

Is there inspect_pyright in 6.7.0?

Not assumed. Quote typeCheckingMode/venvPath/include pins you actually open. Do not invent inspect_pyright.

Does REA run Pyright or talk to Microsoft services?

No. Local trees only. No credential theft.

pyrightconfig.json vs Pylance settings?

Label Evidence by the file present. Keep IDE-only settings separate from repo-pinned config when possible.

npm version checked?

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

Sources