Closed noraj closed 1 year ago
Note : I don't have the permission to fork so to PR
I would fix this error by catching the import error.
The deepl dependency is installed with pip3 install reptor[deepl]
or [all]
. If it is not available, it should only raise an exception if the translate plugin is used.
Oh yeah I didn't see it was in the optional dependencies
So yes it should raise an error only when the specific code is used.
Also pytest should be listed as a dev dependencies and not a runtime one.
Could you add this line
to
https://github.com/Syslifters/reptor/blob/0184ea3ed87de4eda864ff3edabade8b4fd1336b/pyproject.toml#L21-L22
because it is missing