Skip to content

Commit a7fef9c

Browse files
committed
fix typecheck and lint
1 parent a6b9bde commit a7fef9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

convert_hf_to_gguf_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ def fugashi_check():
146146
Check if fugashi and Japanese dictionary are installed and can be imported.
147147
"""
148148
try:
149-
import fugashi
150-
tagger = fugashi.Tagger()
149+
import fugashi # pyright: ignore[reportMissingImports]
150+
fugashi.Tagger()
151151
except ImportError:
152152
raise ImportError(
153153
"fugashi is missing, install it via: pip install 'fugashi[unidic-lite]'"

0 commit comments

Comments
 (0)