Skip to content

Make mypy a soft dependency #1628

Closed
@jorenham

Description

@jorenham

Given that there are several popular alternatives to mypy (e.g. pyright and pytype), mypy should be an optional dependency, installable with e.g. django-stubs[mypy].

I haven't tested it myself yet, but if django-stubs doesn't work with these "alternative" typecheckers, then I'd suggest that it should explicitly mentioned that this is a mypy-only stubs package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmetaMeta-issues and discussionpyrightRelated to pyright type checker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions