Skip to content

Commit a237202

Browse files
authored
add missing type
1 parent 2d3b9c4 commit a237202

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

HISTORY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelog
22

3+
### v0.19.2
4+
#### Added
5+
- add missing type hints
6+
37
### v0.19.1
48
#### Added
59
- Add type hints

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Max Bachmann'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '0.19.1'
25+
release = '0.19.2'
2626

2727
# -- General configuration ---------------------------------------------------
2828

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name="Levenshtein",
8-
version="0.19.1",
8+
version="0.19.2",
99
url="https://github.com/maxbachmann/Levenshtein",
1010
author="Max Bachmann",
1111
install_requires=["rapidfuzz >= 2.0.1, < 3.0.0"],

src/Levenshtein/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
__author__: str = "Max Bachmann"
1818
__license__: str = "GPL"
19-
__version__: str = "0.19.1"
19+
__version__: str = "0.19.2"
2020

2121
from rapidfuzz.distance.Levenshtein import distance
2222
from rapidfuzz.distance.Indel import normalized_similarity as ratio

src/Levenshtein/__init__.pyi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ _Opcodes = List[Tuple[str, int, int, int, int]]
99
_MatchingBlocks = List[Tuple[int, int, int]]
1010
_AnyEditops = Union[_Editops, _Opcodes]
1111

12+
from rapidfuzz.distance.Levenshtein import distance as distance
13+
from rapidfuzz.distance.Indel import normalized_similarity as ratio
14+
from rapidfuzz.distance.Hamming import distance as hamming
15+
from rapidfuzz.distance.Jaro import similarity as jaro
16+
from rapidfuzz.distance.JaroWinkler import similarity as jaro_winkler
17+
1218
def inverse(edit_operations: list) -> list: ...
1319

1420
@overload

0 commit comments

Comments
 (0)