Skip to content

Commit

Permalink
tui: linting; line length
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlay committed Jun 30, 2023
1 parent f03e87f commit 2540372
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tui_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
'author': 'Josh Lay <me+fedora@jlay.io>',
'creation_date': '2023-06-29',
'version': '1.0.0',
'description': 'This is a basic Textual TUI application. Used as the foundation for other projects'
'description': '''This is a basic Textual TUI application.
Used as the foundation for other projects'''
}

class Notification(Static):
Expand Down Expand Up @@ -124,8 +126,9 @@ def compose(self) -> ComposeResult:
yield self.text_log
with TabPane("About", id="tab_about"):
yield Vertical(
Label(f"{metadata['title']} v{metadata['version']}\n{metadata['description']}\n\nby [italic]{metadata['author']}[/]",
markup=True )
Label(f"{metadata['title']} v{metadata['version']}"),
Label(f"{metadata['description']}"),
Label(f"by [italic]{metadata['author']}[/]", markup=True)
)
yield Footer()

Expand Down

0 comments on commit 2540372

Please sign in to comment.