mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-10 14:14:48 +02:00
More typing work
Also use a mypy based linter when editing
This commit is contained in:
@@ -48,7 +48,7 @@ def cmd_names_matching(prefix):
|
||||
|
||||
@lru_cache()
|
||||
def options_for_cmd(cmd: str) -> Tuple[Tuple[str, ...], Dict[str, OptionDict]]:
|
||||
alias_map = {}
|
||||
alias_map: Dict[str, OptionDict] = {}
|
||||
try:
|
||||
func = command_for_name(cmd)
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user