mirror of
https://github.com/rr-/pq-cli.git
synced 2026-09-29 06:44:00 -06:00
misc: fix style issues
This commit is contained in:
@@ -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",
|
||||
]
|
||||
|
||||
@@ -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",
|
||||
]
|
||||
|
||||
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user