App.NoopCompleter: Fix argcomplete 3.7 type errors #156
1 changed files with 3 additions and 2 deletions
|
|
@ -407,8 +407,9 @@ class App: # export
|
|||
|
||||
@override
|
||||
def __call__( # pyright: ignore[reportGeneralTypeIssues]
|
||||
self, *args: Any, **kwargs: Any) -> None:
|
||||
return None
|
||||
self, *args: Any, **kwargs: Any,
|
||||
) -> list[str]:
|
||||
return []
|
||||
|
||||
import argcomplete # type: ignore[import-not-found, unused-ignore]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue