Fix build errors
Add wordninja to requirements.txt Fix typing to allow unrar-cffi to be optional
This commit is contained in:
parent
4201558483
commit
d33fb6ef31
@ -537,7 +537,7 @@ class RarArchiver(UnknownArchiver):
|
||||
|
||||
return namelist
|
||||
|
||||
def get_rar_obj(self) -> Optional[rarfile.RarFile]:
|
||||
def get_rar_obj(self) -> "Optional[rarfile.RarFile]":
|
||||
try:
|
||||
rarc = rarfile.RarFile(str(self.path))
|
||||
except (OSError, IOError) as e:
|
||||
|
@ -5,4 +5,5 @@ requests==2.*
|
||||
pathvalidate
|
||||
pycountry
|
||||
py7zr
|
||||
text2digits
|
||||
text2digits
|
||||
wordninja
|
||||
|
Loading…
Reference in New Issue
Block a user