Skip to content

Extend type hints to tests #532

@JoeZiminski

Description

@JoeZiminski

Currently, type hints are not added to tests to avoid the maintenance burden, and mypy does not check the tests. In general, it would be nice to have type hints on tests, espsecially where they aid in reading. This is particularly important for some cases, see here.

In a new PR, we can start by:

  1. extend mypy to cover tests
  2. start adding type hints where useful, here first.
  3. extend developer docs to explain the situation

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions