rapidfuzz / RapidFuzz

Rapid fuzzy string matching in Python using various string metrics
https://rapidfuzz.github.io/RapidFuzz/
MIT License
2.61k stars 116 forks source link

Improved type hinting based on the functions' definitions #375

Closed Vioshim closed 5 months ago

Vioshim commented 5 months ago

I've applied name changes to the variables, and upon analyzing the source coded, decided to add a type hinting that is more fitting to the edge cases such as expecting a ScoreAlignment from partial_ratio_alignment.

maxbachmann commented 5 months ago

Thanks for the contribution