Daily Ships / TYPESHIFTDAY 69 · 04 DEC 2026
PYTHON TOOLING · MIGRATION REVIEW

Switch type checkers.
Keep sight of the gaps.

Moving from mypy or Pyright to ty? Turn your diagnostic settings into a review queue, with split mappings and missing coverage made visible.

YOUR MIGRATION REVIEW · 2026-12-04

Review required before switching

Nori’s service · mypy → ty · 4 unique diagnostics

1Draft mappings
1Review cases
2Hand-offs & gaps

These are configuration mappings, not a pass/fail result for your Python code. “Direct” means one unqualified row in the guide.

1. Work through the mappings

union-attr

review

Requested severity: ignore · line scope · input line 1

Multiple or conditional mappings: inspect the actual diagnostic before choosing a target. No setting generated.

4 official mapping rows — retain these qualifiers
  • invalid-context-manager
    Source scope: misc; attr-defined; union-attr
  • missing-attribute
    Source scope: attr-defined; union-attr (attribute missing from every union member)
  • missing-union-attribute
    Source scope: union-attr
  • not-iterable
    Source scope: misc; attr-defined; union-attr

arg-type

direct

Requested severity: error · global scope · input line 2

One unqualified ty mapping in the guide. Draft setting generated; verify behavior on your code.

1 official mapping row — retain these qualifiers
  • invalid-argument-type
    Source scope: arg-type; index; type-var

no-untyped-def

ruff

Requested severity: error · global scope · input line 3

Coverage lives in Ruff, not a ty rule. Review the listed scope and configure Ruff separately; severity parity is not implied.

1 official mapping row — retain these qualifiers
  • Ruff ANN rules
    Source scope: no-untyped-def

no-untyped-call

gap

Requested severity: error · global scope · input line 4

The guide records no direct ty equivalent for this check. Keep the old check until you accept or replace this gap.

1 official mapping row — retain these qualifiers
  • None yet (tracked in #4381)
    Source scope: no-untyped-call

2. Review the draft settings

Only direct, non-conflicting global mappings are included. Line-scoped ignores stay in the review above. Split, conditional, Ruff, unknown, and missing-equivalent mappings stay out. An ignore setting still suppresses diagnostics; inspect it before applying.

# Draft for pyproject.toml — review before applying
[tool.ty.rules]
invalid-argument-type = "error"

3. Next steps, in order

  1. 4 Dec 2026 — Save the current checker configuration and record its diagnostics on a representative branch.
  2. Before switching — Resolve 1 review cases, 1 coverage gaps, 0 unknown codes, and 1 Ruff hand-offs. Do not replace a broad ignore with all candidate rules.
  3. Before the trial — Merge draft settings into the existing table, not a duplicate TOML table. A same-directory ty.toml overrides [tool.ty] in pyproject.toml; CLI settings override persistent configuration.
  4. During the trial — Run ty check alongside the existing checker. ty checks unannotated function bodies unconditionally. Audit stubs, plugins, and inline ignores; this tool does not rewrite code.
  5. After review — Retire the old checker only when representative tests and diagnostics confirm acceptable coverage. No vendor migration deadline is asserted.

Why not just use the official migration guide?

Astral’s free migration guide is the source of truth. Typeshift adds batch severity handling, conflict detection, conservative draft settings, and a shareable review queue. Use ty itself to validate behavior on real code.

Sources · fetched 4 Dec 2026

What this does not model

Does not run Python, inspect repositories, parse whole config files, resolve per-file overrides, discover environments, or prove semantic parity. Coverage is the official mapping snapshot checked 4 Dec 2026. Unknown names may be newer rules. Rule defaults and plugin compatibility must be checked in ty itself.

Your data

No repository access, external scripts, fonts, trackers, or runtime lookups. Saved reports retain only inputs and computed results, with no automatic expiry. Anyone with a report URL can read it. Use nicknames and diagnostic names, never credentials or confidential source code.