From: Sergey Matveev Date: Tue, 19 Jun 2018 18:33:36 +0000 (+0300) Subject: Add some missing typestubs X-Git-Tag: 3.15~26 X-Git-Url: http://www.git.cypherpunks.ru/?p=pygost.git;a=commitdiff_plain;h=a4feac693ca17afba5d495f0eaa205e2ae7f4d0e Add some missing typestubs --- diff --git a/pygost/stubs/pygost/gost34112012.pyi b/pygost/stubs/pygost/gost34112012.pyi index 17a727f..dd0cc4c 100644 --- a/pygost/stubs/pygost/gost34112012.pyi +++ b/pygost/stubs/pygost/gost34112012.pyi @@ -2,6 +2,8 @@ from pygost.iface import PEP247 class GOST34112012(PEP247): + block_size = ... # type: int + def __init__(self, data: bytes=..., digest_size: int=...) -> None: ... @property diff --git a/pygost/stubs/pygost/gost34112012256.pyi b/pygost/stubs/pygost/gost34112012256.pyi index fcbe64e..1bae785 100644 --- a/pygost/stubs/pygost/gost34112012256.pyi +++ b/pygost/stubs/pygost/gost34112012256.pyi @@ -2,6 +2,8 @@ from pygost.iface import PEP247 class GOST34112012256(PEP247): + block_size = ... # type: int + def __init__(self, data: bytes=...) -> None: ... @property diff --git a/pygost/stubs/pygost/gost34112012512.pyi b/pygost/stubs/pygost/gost34112012512.pyi index 1276e2e..0a3d7b3 100644 --- a/pygost/stubs/pygost/gost34112012512.pyi +++ b/pygost/stubs/pygost/gost34112012512.pyi @@ -2,6 +2,8 @@ from pygost.iface import PEP247 class GOST34112012512(PEP247): + block_size = ... # type: int + def __init__(self, data: bytes=...) -> None: ... @property diff --git a/pygost/stubs/pygost/gost341194.pyi b/pygost/stubs/pygost/gost341194.pyi index b495957..87492c8 100644 --- a/pygost/stubs/pygost/gost341194.pyi +++ b/pygost/stubs/pygost/gost341194.pyi @@ -2,6 +2,9 @@ from pygost.iface import PEP247 class GOST341194(PEP247): + sbox = ... # type: str + block_size = ... # type: int + def __init__(self, data: bytes=..., sbox: str=...) -> None: ... @property