Skip to content

Commit

Permalink
chore: Autoformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
kjy5 authored and github-actions[bot] committed Mar 29, 2024
1 parent f113453 commit 96999cc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/vbl_aquarium/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def remove_ignored_classes(module):

# Move using statement to top
output = "using System;\n" + output

if "using UnityEngine;" in output:
output = "using UnityEngine;\n" + output.replace("using UnityEngine;", "")

Expand Down
2 changes: 2 additions & 0 deletions src/vbl_aquarium/models/dock.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ class UploadModel(VBLBaseModel):
data: str
password: str


class DownloadModel(VBLBaseModel):
password: str


# Models for sending save/load messages
class SaveModel(VBLBaseModel):
bucket: str
Expand Down
9 changes: 6 additions & 3 deletions src/vbl_aquarium/models/urchin.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,12 @@ class CameraMode(str, Enum):
controllable: bool
main: bool


class CameraRotationModel(VBLBaseModel):
start_rotation: Vector3
end_rotation: Vector3


# Individual mesh neuron


Expand Down Expand Up @@ -114,8 +116,9 @@ class ParticleGroupModel(VBLBaseModel):


# Utilities



class ColormapModel(VBLBaseModel):
name: str = ''
name: str = ""
min: float = 0
max: float = 1
max: float = 1

0 comments on commit 96999cc

Please sign in to comment.