File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def validate_score(cls, value: float) -> int | None:
104104 return value
105105
106106 @model_validator (mode = 'after' )
107- def debug_output (self ) -> 'MirrorStatusEntryV3' :
107+ def debug_output (self ) -> Self :
108108 from ..args import arch_config_handler
109109
110110 self ._hostname , * port = urllib .parse .urlparse (self .url ).netloc .split (':' , 1 )
Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ class MenuKeys(Enum):
4949 SCROLL_DOWN = frozenset ({338 })
5050
5151 @classmethod
52- def from_ord (cls , key : int ) -> list ['MenuKeys' ]:
53- matches = []
52+ def from_ord (cls , key : int ) -> list [Self ]:
53+ matches : list [ Self ] = []
5454
55- for group in MenuKeys :
55+ for group in cls :
5656 if key in group .value :
5757 matches .append (group )
5858
You can’t perform that action at this time.
0 commit comments