Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asdofindia committed Feb 19, 2024
1 parent 2c640e4 commit 5206fd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libindic/normalizer/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
class Normalizer:

def __init__(self):
self.rules_file = files('libindic.normalizer.rules').joinpath('normalizer_ml.rules')
self.rules_file = files("libindic.normalizer.rules").joinpath(
"normalizer_ml.rules"
)
self.rulesDict = self.LoadRules()
pattern = "|".join(map(re.escape, self.rulesDict.keys()))
self.regex = re.compile(pattern)
Expand Down

0 comments on commit 5206fd3

Please sign in to comment.