Skip to content
This repository was archived by the owner on Jan 21, 2023. It is now read-only.

Commit a4a7e87

Browse files
committed
style: Black reformatting
1 parent 058b5b3 commit a4a7e87

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/structurizr/view/view_set.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def __init__(
108108
def system_landscape_views(self) -> Iterable[SystemLandscapeView]:
109109
"""Return the SystemLandscapeViews in this ViewSet."""
110110
return self._get_typed_views(SystemLandscapeView)
111-
111+
112112
@property
113113
def system_context_views(self) -> Iterable[SystemContextView]:
114114
"""Return the SystemContextViews in this ViewSet."""
@@ -380,8 +380,4 @@ def _ensure_key_is_specific_and_unique(self, key: str) -> None:
380380
raise ValueError(f"View already exists in workspace with key '{key}'.")
381381

382382
def _get_typed_views(self, klass: "T") -> Iterable["T"]:
383-
return (
384-
view
385-
for view in self._views.values()
386-
if isinstance(view, klass)
387-
)
383+
return (view for view in self._views.values() if isinstance(view, klass))

0 commit comments

Comments
 (0)