Skip to content

Commit

Permalink
minimal changes black
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanmele committed Apr 23, 2024
1 parent 5d926a5 commit 4484fa6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/compas/datastructures/cell_network/cell_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def __init__(
default_face_attributes=None,
default_cell_attributes=None,
name=None,
**kwargs
**kwargs,
):
super(CellNetwork, self).__init__(kwargs, name=name)
self._max_vertex = -1
Expand Down
2 changes: 1 addition & 1 deletion src/compas/datastructures/mesh/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def __init__(
default_edge_attributes=None,
default_face_attributes=None,
name=None,
**kwargs
**kwargs,
):
super(Mesh, self).__init__(kwargs, name=name)
self._max_vertex = -1
Expand Down
2 changes: 1 addition & 1 deletion src/compas/datastructures/volmesh/volmesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def __init__(
default_face_attributes=None,
default_cell_attributes=None,
name=None,
**kwargs
**kwargs,
):
super(VolMesh, self).__init__(kwargs, name=name)
self._max_vertex = -1
Expand Down
11 changes: 10 additions & 1 deletion src/compas/scene/sceneobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,16 @@ def __new__(cls, item, **kwargs):
return super(SceneObject, cls).__new__(sceneobject_cls)

def __init__(
self, item, name=None, color=None, opacity=1.0, show=True, frame=None, transformation=None, context=None, **kwargs
self,
item,
name=None,
color=None,
opacity=1.0,
show=True,
frame=None,
transformation=None,
context=None,
**kwargs,
): # type: (compas.geometry.Geometry | compas.datastructures.Datastructure, str | None, compas.colors.Color | None, float, bool, compas.geometry.Frame | None, compas.geometry.Transformation | None, str | None, dict) -> None
name = name or item.name
super(SceneObject, self).__init__(name=name, **kwargs)
Expand Down

0 comments on commit 4484fa6

Please sign in to comment.