Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Mar 21, 2024
1 parent dcab812 commit c1fb63a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
12 changes: 4 additions & 8 deletions src/viser/_gui_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,7 @@ def add_gui_button_group(
disabled: bool = False,
hint: Optional[str] = None,
order: Optional[float] = None,
) -> GuiButtonGroupHandle[TLiteralString]:
...
) -> GuiButtonGroupHandle[TLiteralString]: ...

@overload
def add_gui_button_group(
Expand All @@ -657,8 +656,7 @@ def add_gui_button_group(
disabled: bool = False,
hint: Optional[str] = None,
order: Optional[float] = None,
) -> GuiButtonGroupHandle[TString]:
...
) -> GuiButtonGroupHandle[TString]: ...

def add_gui_button_group(
self,
Expand Down Expand Up @@ -986,8 +984,7 @@ def add_gui_dropdown(
visible: bool = True,
hint: Optional[str] = None,
order: Optional[float] = None,
) -> GuiDropdownHandle[TLiteralString]:
...
) -> GuiDropdownHandle[TLiteralString]: ...

@overload
def add_gui_dropdown(
Expand All @@ -999,8 +996,7 @@ def add_gui_dropdown(
visible: bool = True,
hint: Optional[str] = None,
order: Optional[float] = None,
) -> GuiDropdownHandle[TString]:
...
) -> GuiDropdownHandle[TString]: ...

def add_gui_dropdown(
self,
Expand Down
3 changes: 1 addition & 2 deletions src/viser/_gui_handles.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ class GuiContainerProtocol(Protocol):


class SupportsRemoveProtocol(Protocol):
def remove(self) -> None:
...
def remove(self) -> None: ...


@dataclasses.dataclass
Expand Down
1 change: 0 additions & 1 deletion src/viser/client/src/ControlPanel/Generated.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,3 @@ function GeneratedInput(props: { guiId: string }) {
function assertNeverType(x: never): never {
throw new Error("Unexpected object: " + (x as any).type);
}

0 comments on commit c1fb63a

Please sign in to comment.