Skip to content

Commit 96dd492

Browse files
yt-msMidnighter
authored andcommitted
fix: ignore coverage for TYPE_CHECKING blocks
1 parent 9562ac4 commit 96dd492

11 files changed

+11
-11
lines changed

src/structurizr/model/component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from .tags import Tags
2626

2727

28-
if TYPE_CHECKING:
28+
if TYPE_CHECKING: # pragma: no cover
2929
from .container import Container
3030
from .model import Model
3131

src/structurizr/model/container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from .tags import Tags
2525

2626

27-
if TYPE_CHECKING:
27+
if TYPE_CHECKING: # pragma: no cover
2828
from .model import Model
2929
from .software_system import SoftwareSystem
3030

src/structurizr/model/container_instance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from .tags import Tags
2929

3030

31-
if TYPE_CHECKING:
31+
if TYPE_CHECKING: # pragma: no cover
3232
from .deployment_node import DeploymentNode
3333
from .model import Model
3434

src/structurizr/model/deployment_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from .software_system_instance import SoftwareSystemInstance, SoftwareSystemInstanceIO
2828

2929

30-
if TYPE_CHECKING:
30+
if TYPE_CHECKING: # pragma: no cover
3131
from .model import Model
3232

3333
__all__ = ("DeploymentNode", "DeploymentNodeIO")

src/structurizr/model/infrastructure_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from .tags import Tags
2020

2121

22-
if TYPE_CHECKING:
22+
if TYPE_CHECKING: # pragma: no cover
2323
from .deployment_node import DeploymentNode
2424
from .model import Model
2525

src/structurizr/model/person.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from .tags import Tags
2727

2828

29-
if TYPE_CHECKING:
29+
if TYPE_CHECKING: # pragma: no cover
3030
from .model import Model
3131

3232
__all__ = ("PersonIO", "Person")

src/structurizr/model/relationship.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from .tags import Tags
2626

2727

28-
if TYPE_CHECKING:
28+
if TYPE_CHECKING: # pragma: no cover
2929
from .element import Element
3030

3131
__all__ = ("Relationship", "RelationshipIO")

src/structurizr/model/software_system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from .tags import Tags
2727

2828

29-
if TYPE_CHECKING:
29+
if TYPE_CHECKING: # pragma: no cover
3030
from .model import Model
3131

3232

src/structurizr/model/software_system_instance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from .tags import Tags
2929

3030

31-
if TYPE_CHECKING:
31+
if TYPE_CHECKING: # pragma: no cover
3232
from .deployment_node import DeploymentNode
3333
from .model import Model
3434

src/structurizr/model/static_structure_element.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from .element import Element, ElementIO
2323

2424

25-
if TYPE_CHECKING:
25+
if TYPE_CHECKING: # pragma: no cover
2626
from .relationship import Relationship
2727

2828

0 commit comments

Comments
 (0)