style: add missing override annotation
This commit is contained in:
@@ -9,6 +9,7 @@ Here's an example usage:
|
||||
|
||||
import pathlib
|
||||
import random
|
||||
from typing import override
|
||||
|
||||
import typed_argparse as tap
|
||||
from textual.app import App, ComposeResult
|
||||
@@ -70,6 +71,7 @@ class MenuApp(App[None]):
|
||||
self.current_index: int = 0
|
||||
self.current_file: pathlib.Path | None = None
|
||||
|
||||
@override
|
||||
def compose(self) -> ComposeResult:
|
||||
yield Header()
|
||||
yield Label("Loading files...", id="status")
|
||||
|
||||
Reference in New Issue
Block a user