Skip to content

Commit ffc5268

Browse files
committed
Ignore TYPE_CHECKING imports for coverage
1 parent bd582b4 commit ffc5268

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ansys/dpf/core/collection_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
dpf_vector,
4646
)
4747

48-
if TYPE_CHECKING:
48+
if TYPE_CHECKING: # pragma: no cover
4949
from ansys.dpf.core.support import Support
5050

5151
from ansys.dpf.gate.integral_types import MutableListInt32

src/ansys/dpf/core/fields_container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
from ansys.dpf.core.collection_base import CollectionBase
3636
from ansys.dpf.core.common import shell_layers
3737

38-
if TYPE_CHECKING:
38+
if TYPE_CHECKING: # pragma: no cover
3939
from ansys.dpf.core import Operator, Result
4040

4141

src/ansys/dpf/core/server_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
from ansys.dpf.core.check_version import server_meet_version
5353
from ansys.dpf.gate import data_processing_grpcapi, load_api
5454

55-
if TYPE_CHECKING:
55+
if TYPE_CHECKING: # pragma: no cover
5656
from ansys.dpf.core.server_factory import DockerConfig
5757

5858
import logging

0 commit comments

Comments
 (0)