Skip to content

Commit

Permalink
Fixes mypy check for default None value
Browse files Browse the repository at this point in the history
  • Loading branch information
kushaldas committed Jan 12, 2025
1 parent 67cd866 commit 4b87af1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions johnnycanencrypt/johnnycanencrypt.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ def change_user_pin(adminpin: bytes, newpin: bytes) -> bool: ...
def change_admin_pin(adminpin: bytes, newadminpin: bytes) -> bool: ...
def parse_cert_bytes(
certdata: bytes,
nullpolicy: Optional[bool],
nullpolicy: Optional[bool]=None,
) -> Tuple[List[Dict[Any, Any]], str, bool, datetime, datetime, Dict[Any, Any]]: ...
def parse_cert_file(
certfile: str,
nullpolicy: Optional[bool],
nullpolicy: Optional[bool]=None,
) -> Tuple[List[Dict[Any, Any]], str, bool, datetime, datetime, Dict[Any, Any]]: ...
def parse_keyring_file(certfile: str) -> List[Tuple[List[Dict[Any, Any]], str, bool, datetime, datetime, Dict[Any, Any]]]: ...
def set_name(name: bytes, pin: bytes) -> bool: ...
Expand Down

0 comments on commit 4b87af1

Please sign in to comment.