Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimplement popular Mypy plugins #15828

Open
johnthagen opened this issue Jan 30, 2025 · 2 comments
Open

Reimplement popular Mypy plugins #15828

johnthagen opened this issue Jan 30, 2025 · 2 comments
Labels
needs-decision Awaiting a decision from a maintainer needs-design Needs further design before implementation red-knot Multi-file analysis & type inference

Comments

@johnthagen
Copy link

johnthagen commented Jan 30, 2025

Description

In order to migrate from Mypy to Ruff for static type checking, one thing users may need are reimplementations of the most popular Mypy plugins.

Assuming for a moment that exposing a Mypy-compatible plugin interface is out of scope, the following Mypy plugins are ones I've seen in wide use within the community and could be considered:

Another list of Mypy plugins I found:

Related to

@dylwil3 dylwil3 added the wish Not on the current roadmap; maybe in the future label Jan 30, 2025
@AlexWaygood AlexWaygood added red-knot Multi-file analysis & type inference needs-decision Awaiting a decision from a maintainer needs-design Needs further design before implementation and removed wish Not on the current roadmap; maybe in the future labels Jan 30, 2025
@NeilGirdhar
Copy link

The numpy plugin is deprecated and the stubs are not plugins, right? Might want to remove those from your list.

@UnknownPlatypus
Copy link
Contributor

django-stubs and djangorestframework-stubs both expose mypy plugin on top of the stubs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-decision Awaiting a decision from a maintainer needs-design Needs further design before implementation red-knot Multi-file analysis & type inference
Projects
None yet
Development

No branches or pull requests

5 participants