Skip to content

Add Type Checking To This Project And Add py.typed #91

Description

@rmorshea

Current Situation

Right now, we don't do any type checking with MyPy. We also do not distribute a py.typed marker file which would allow MyPy to work with django_idom when it's installed in other projects.

Proposed Actions

  • Add type checking with mypy. Preferably we'd eventually check in --strict mode, but we don't have to start there.
  • Distribute a py.typed marker file.

Activity

  1. Archmonger commented on Jul 15, 2022

    @Archmonger
    Contributor

    What's the benefit of MyPy over stdlib type hints?

  2. rmorshea commented on Jul 15, 2022

    @rmorshea
    ContributorAuthor

    MyPy is just the type checker. All the type hints will stay the same.

  3. linked a pull request that will close this issueuse_query and use_mutation #86on Sep 14, 2022
  4. linked a pull request that will close this issueView to Component #81on Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions