Skip to content

Migrate type checking from mypy to ty#239

Merged
gaborbernat merged 2 commits into
mainfrom
ty
Feb 19, 2026
Merged

Migrate type checking from mypy to ty#239
gaborbernat merged 2 commits into
mainfrom
ty

Conversation

@gaborbernat
Copy link
Copy Markdown
Member

  • Replace mypy with ty for type checking
  • Fix docs/conf.py type annotations: correct resolve_xref override signature (pending_xref node type, reference | None return)
  • Add docs and testing extras to type environment so ty can resolve all imports

@gaborbernat gaborbernat disabled auto-merge February 19, 2026 05:41
@gaborbernat gaborbernat merged commit ba034d6 into main Feb 19, 2026
23 checks passed
@gaborbernat gaborbernat deleted the ty branch February 19, 2026 05:41
gaborbernat added a commit to gaborbernat/pyproject-api that referenced this pull request May 27, 2026
* Migrate type checking from mypy to ty

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant