Skip to content

Commit 015a602

Browse files
committed
black broken typecheck
1 parent 7d7c32b commit 015a602

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

fs/base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ def walk(self):
122122

123123
@abc.abstractmethod
124124
def getinfo(
125-
self, path, namespaces=None # type: Text # type: Optional[Collection[Text]]
125+
self,
126+
path, # type: Text
127+
namespaces=None, # type: Optional[Collection[Text]]
126128
):
127129
# type: (...) -> Info
128130
"""Get information about a resource on a filesystem.

fs/ftpfs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,9 @@ def removedir(self, path):
699699
raise # pragma: no cover
700700

701701
def _scandir(
702-
self, path, namespaces=None # type: Text # type: Optional[Container[Text]]
702+
self,
703+
path, # type: Text
704+
namespaces=None # type: Optional[Container[Text]]
703705
):
704706
# type: (...) -> Iterator[Info]
705707
_path = self.validatepath(path)

0 commit comments

Comments
 (0)