Compare commits

..

2 Commits

Author SHA1 Message Date
74d95b6a50 Add typing_extensions 2022-05-19 18:17:22 -07:00
d33fb6ef31 Fix build errors
Add wordninja to requirements.txt
Fix typing to allow unrar-cffi to be optional
2022-05-19 18:08:05 -07:00
2 changed files with 4 additions and 2 deletions

View File

@ -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:

View File

@ -5,4 +5,6 @@ requests==2.*
pathvalidate
pycountry
py7zr
text2digits
text2digits
typing_extensions
wordninja