From: Sergey Matveev Date: Thu, 13 Oct 2016 08:14:49 +0000 (+0300) Subject: Fix 34.13 mypy stub X-Git-Tag: 2.4^0 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ba733f4a6983a80b8238478174c771243b34ebee;p=pygost.git Fix 34.13 mypy stub --- diff --git a/NEWS b/NEWS index 14759c3..b951650 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +2.4: + Fixed 34.13 mypy stub + 2.3: Typo and pylint fixes diff --git a/VERSION b/VERSION index bb576db..6b4950e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.3 +2.4 diff --git a/pygost/stubs/pygost/gost3413.pyi b/pygost/stubs/pygost/gost3413.pyi index 590cb9e..dddb205 100644 --- a/pygost/stubs/pygost/gost3413.pyi +++ b/pygost/stubs/pygost/gost3413.pyi @@ -1,10 +1,10 @@ -def pad_size(int, int) -> int: ... +def pad_size(data_size: int, blocksize: int) -> int: ... -def pad1(bytes, int) -> bytes: ... +def pad1(data: bytes, blocksize: int) -> bytes: ... -def pad2(bytes, int) -> bytes: ... +def pad2(data: bytes, blocksize: int) -> bytes: ... -def pad3(bytes, int) -> bytes: ... +def pad3(data: bytes, blocksize: int) -> bytes: ...