misc: fix style issues

This commit is contained in:
Dash
2025-12-11 14:58:55 +01:00
parent 7e52a74065
commit 9609e9a3f2
7 changed files with 74 additions and 5 deletions
+12
View File
@@ -9,3 +9,15 @@ from .create_character_view import (
)
from .game_view import GameView
from .roster_view import RosterView
__all__ = [
"BaseView",
"ChooseCharacterView",
"ConfirmView",
"ChooseCharacterClassView",
"ChooseCharacterNameView",
"ChooseCharacterRaceView",
"ChooseCharacterStatsView",
"GameView",
"RosterView",
]
+1 -1
View File
@@ -18,7 +18,7 @@ class ConfirmView(BaseView):
self.choices: T.List[Choice] = [
Choice(
keys=list(map(ord, "yY")),
desc=f"[Y] Yes",
desc="[Y] Yes",
callback=self.on_confirm,
),
Choice(
@@ -2,3 +2,10 @@ from .choose_character_class_view import ChooseCharacterClassView
from .choose_character_name_view import ChooseCharacterNameView
from .choose_character_race_view import ChooseCharacterRaceView
from .choose_character_stats_view import ChooseCharacterStatsView
__all__ = [
"ChooseCharacterClassView",
"ChooseCharacterNameView",
"ChooseCharacterRaceView",
"ChooseCharacterStatsView",
]
+12
View File
@@ -6,3 +6,15 @@ from .list_box import ListBox
from .menu import Menu
from .progress_bar import ProgressBar
from .scrollable import Scrollable
__all__ = [
"Widget",
"WindowWrapper",
"DataTable",
"Focusable",
"Label",
"ListBox",
"Menu",
"ProgressBar",
"Scrollable",
]