mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Disallow untyped decorators
This commit is contained in:
@@ -256,7 +256,7 @@ def init_config(default_config_lines: Iterable[str], parse_config: Callable) ->
|
||||
return Options, defaults
|
||||
|
||||
|
||||
def key_func() -> Tuple[Callable, Dict[str, Callable]]:
|
||||
def key_func() -> Tuple[Callable[..., Callable], Dict[str, Callable]]:
|
||||
ans: Dict[str, Callable] = {}
|
||||
|
||||
def func_with_args(*names: str) -> Callable:
|
||||
|
||||
Reference in New Issue
Block a user