Skip to content

Commit 0ac7d1f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c9376b9 commit 0ac7d1f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hashes/joaat.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
source: https://en.wikipedia.org/wiki/Jenkins_hash_function
66
"""
77

8+
89
def joaat(key: str) -> int:
910
"""
1011
Calculate Jenkins One-at-a-Time hash for a key.
@@ -31,6 +32,8 @@ def joaat(key: str) -> int:
3132

3233
return hash_value
3334

35+
3436
if __name__ == "__main__":
3537
import doctest
38+
3639
doctest.testmod()

0 commit comments

Comments
 (0)