Skip to content

Commit

Permalink
black broken typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Jul 28, 2018
1 parent 7d7c32b commit 015a602
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion fs/base.py
Expand Up @@ -122,7 +122,9 @@ def walk(self):

@abc.abstractmethod
def getinfo(
self, path, namespaces=None # type: Text # type: Optional[Collection[Text]]
self,
path, # type: Text
namespaces=None, # type: Optional[Collection[Text]]
):
# type: (...) -> Info
"""Get information about a resource on a filesystem.
Expand Down
4 changes: 3 additions & 1 deletion fs/ftpfs.py
Expand Up @@ -699,7 +699,9 @@ def removedir(self, path):
raise # pragma: no cover

def _scandir(
self, path, namespaces=None # type: Text # type: Optional[Container[Text]]
self,
path, # type: Text
namespaces=None # type: Optional[Container[Text]]
):
# type: (...) -> Iterator[Info]
_path = self.validatepath(path)
Expand Down

0 comments on commit 015a602

Please sign in to comment.