Fix mypy violations

This commit is contained in:
Takeshi KOMIYA 2018-07-15 14:55:22 +09:00
parent bfe7bb819d
commit a54abd760c

View File

@ -223,7 +223,7 @@ class path(text_type):
""" """
Joins the path with the argument given and returns the result. Joins the path with the argument given and returns the result.
""" """
return self.__class__(os.path.join(self, *map(self.__class__, args))) # type: ignore # NOQA return self.__class__(os.path.join(self, *map(self.__class__, args)))
def listdir(self): def listdir(self):
# type: () -> List[unicode] # type: () -> List[unicode]