-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use 'mypy' to verify typing annotations of Python functions. (#51)
- Loading branch information
1 parent
aafc5be
commit 0115cc3
Showing
14 changed files
with
218 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright © 2024. Cloud Software Group, Inc. | ||
# This file is subject to the license terms contained | ||
# in the license file that is distributed with this file. | ||
|
||
import typing | ||
|
||
|
||
class CabFile: | ||
def __init__(self, file: typing.Any): ... | ||
def __enter__(self) -> CabFile: ... | ||
def __exit__(self, exc_type, exc_val, exc_tb): ... | ||
def __repr__(self) -> str: ... | ||
def write(self, filename: str, arcname: typing.Optional[str] = None) -> None: ... | ||
def writestr(self, arcname: str, data: bytes) -> None: ... | ||
def close(self) -> None: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Copyright © 2024. Cloud Software Group, Inc. | ||
# This file is subject to the license terms contained | ||
# in the license file that is distributed with this file. | ||
|
||
import enum | ||
import typing | ||
|
||
|
||
class CertificateStoreLocation(enum.Enum): | ||
CURRENT_USER = 1 | ||
LOCAL_MACHINE = 2 | ||
|
||
def codesign_file(filename: typing.Any, certificate: str, password: typing.Any, timestamp: typing.Optional[str] = None, | ||
use_rfc3161: bool = False, use_sha256: bool = False) -> None: ... | ||
def codesign_file_from_store(filename: typing.Any, store_location: CertificateStoreLocation, store_name: typing.Any, | ||
store_cn: typing.Any, timestamp: typing.Optional[str] = None, | ||
use_rfc3161: bool = False, use_sha256: bool = False) -> None: ... |
Oops, something went wrong.