[pgp] Fix pyright errors
This commit is contained in:
@@ -105,6 +105,7 @@ class SearchKeys(StatusHandler, list[dict[Any, Any]]):
|
||||
class ListKeys(SearchKeys):
|
||||
UID_INDEX: int = ...
|
||||
FIELDS: list[str] = ...
|
||||
fingerprints: list[str] = ...
|
||||
def __init__(self, gpg: GPG) -> None: ...
|
||||
def key(self, args: Any) -> None: ...
|
||||
sec: Any = ...
|
||||
@@ -159,6 +160,7 @@ class TrustResult(DeleteResult): ...
|
||||
|
||||
class Sign(StatusHandler, TextHandler):
|
||||
returncode: int | None = ...
|
||||
status: str = ...
|
||||
def __init__(self, gpg: GPG) -> None: ...
|
||||
def __nonzero__(self) -> bool: ...
|
||||
def __bool__(self) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user