Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Nov 12, 2024
1 parent 472e94a commit 1ba9a03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/textual/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ def _watch_theme(self, theme_name: str) -> None:
def _invalidate_css(self) -> None:
"""Invalidate CSS, so it will be refreshed."""
self._css_update_count += 1

def watch_ansi_theme_dark(self, theme: TerminalTheme) -> None:
if self.current_theme.dark:
self._refresh_truecolor_filter(theme)
Expand Down
4 changes: 3 additions & 1 deletion src/textual/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,9 @@ class SimpleCommand(NamedTuple):
"""The description of the command."""


CommandListItem: TypeAlias = "SimpleCommand | tuple[str, IgnoreReturnCallbackType, str | None] | tuple[str, IgnoreReturnCallbackType]"
CommandListItem: TypeAlias = (
"SimpleCommand | tuple[str, IgnoreReturnCallbackType, str | None] | tuple[str, IgnoreReturnCallbackType]"
)


class SimpleProvider(Provider):
Expand Down

0 comments on commit 1ba9a03

Please sign in to comment.