Skip to content

Commit

Permalink
Merge pull request #129 from kushaldas/update_pyi
Browse files Browse the repository at this point in the history
Updates pyi for type annotation
  • Loading branch information
kushaldas authored Jan 12, 2023
2 parents fa7eda0 + 8120651 commit c27e341
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions johnnycanencrypt/johnnycanencrypt.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ def encrypt_file_internal(
) -> bytes: ...
def is_smartcard_connected() -> bool: ...
def get_card_version() -> tuple[int, int, int]: ...
def enable_otp_usb() -> bool: ...
def disable_otp_usb() -> bool: ...


class Johnny:
def __init__(self, certdata: bytes) -> Johnny: ...
Expand Down

0 comments on commit c27e341

Please sign in to comment.