From ba733f4a6983a80b8238478174c771243b34ebee Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 13 Oct 2016 11:14:49 +0300 Subject: [PATCH] Fix 34.13 mypy stub --- NEWS | 3 +++ VERSION | 2 +- pygost/stubs/pygost/gost3413.pyi | 8 ++++---- 3 files changed, 8 insertions(+), 5 deletions(-) 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: ... -- 2.44.0