Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
vanous committed Nov 3, 2024
1 parent cf8d4ed commit 8940067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygdtf/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_geometry_by_type(

def iterate_geometries(collector):
for g in collector.geometries:
if type(g) == geometry_class:
if type(g) is geometry_class:
matched.append(g)
if hasattr(g, "geometries"):
iterate_geometries(g)
Expand Down Expand Up @@ -312,7 +312,7 @@ def get_dmx_channels(


def get_used_geometries(
gdtf_profile: Optional["pygdtf.FixtureType"] = None
gdtf_profile: Optional["pygdtf.FixtureType"] = None,
) -> List[str]:
"""Return list of geometries, used in geometry trees"""

Expand Down

0 comments on commit 8940067

Please sign in to comment.