From a4feac693ca17afba5d495f0eaa205e2ae7f4d0e Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 19 Jun 2018 21:33:36 +0300 Subject: [PATCH] Add some missing typestubs --- pygost/stubs/pygost/gost34112012.pyi | 2 ++ pygost/stubs/pygost/gost34112012256.pyi | 2 ++ pygost/stubs/pygost/gost34112012512.pyi | 2 ++ pygost/stubs/pygost/gost341194.pyi | 3 +++ 4 files changed, 9 insertions(+) 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 -- 2.44.0