fix: mypy error redef of PackageNotFoundError and version in __init__
"""All the goto functions you need to handle NLP use-cases, integrated in NLPretext"""
-from nlpretext.preprocessor import Preprocessor
-
-try:
from importlib.metadata import PackageNotFoundError, version
-except ImportError: # pragma: no cover
- from importlib_metadata import PackageNotFoundError, version
+from nlpretext.preprocessor import Preprocessor
try:
__version__ = version(__name__)
