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

Add mypy type check to annotation/ #806

Open
wants to merge 80 commits into
base: develop
Choose a base branch
from
Open

Add mypy type check to annotation/ #806

wants to merge 80 commits into from

Conversation

Jiaqi-Lv
Copy link
Contributor

@Jiaqi-Lv Jiaqi-Lv commented Apr 11, 2024

  • dsl.py
  • storage.py

Had to edit some files in utils/ and and tools/ because they were failing mypy.
Also added a few additional pytests.

"""Annotation store abstract base class."""

def __new__(cls: ABC, *args: str, **kwargs: int) -> ABC: # noqa: ARG003
A = TypeVar("A", bound="AnnotationStore")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe remove this or rename to a more meaningful name.

@Jiaqi-Lv Jiaqi-Lv marked this pull request as ready for review May 17, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants