[mypy] fix hashes folder (#4305)

* fix hashes-folder

* Update build.yml

* fix doctests

* return-values to int

* Update hashes/adler32.py

* type hints for elements

Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
algobytewise
2021-04-03 13:31:46 +05:30
committed by GitHub
parent 5229c74955
commit a53fcf221b
5 changed files with 9 additions and 9 deletions

View File

@ -9,10 +9,10 @@
"""
def adler32(plain_text: str) -> str:
def adler32(plain_text: str) -> int:
"""
Function implements adler-32 hash.
Itterates and evaluates new value for each character
Iterates and evaluates a new value for each character
>>> adler32('Algorithms')
363791387