Apply refurb/ruff rule FURB134 (#11845)

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
Dimitri Papadopoulos OrfanosandAdam Turner authored and GitHub committed 2024-01-04 03:49:19 +00:00
1 parent 399ed4178f
commit aea37a7508
1 file changed
+1 -1
+1 -1
View File
@@ -438,7 +438,7 @@ class IndexBuilder:
_stem = self.lang.stem
# memoise self.lang.stem
@functools.lru_cache(maxsize=None)
@functools.cache
def stem(word_to_stem: str) -> str:
return _stem(word_to_stem).lower()