Skip to content

Remove TYPE_CHECKING from codecov #624

@Andrewwango

Description

@Andrewwango

Towards #487

The code:

from __future__ import annotations
from typing import TYPE_CHECKING
if TYPE_CHECKING:
    from deepinv.xxx import yyy
    ...

... is important for static typing (#536) without circular import problems, but it is an extra three lines per file which don't need to be tested. Therefore they should be removed from codecov.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions