Auto format python, make sure it passes lint checks (#1401)

This commit is contained in:
Matt Weiden
2020-04-16 08:07:10 -07:00
committed by GitHub
parent 7e7ed74b92
commit 58e4c2489b
12 changed files with 66 additions and 78 deletions
+1 -3
View File
@@ -43,9 +43,7 @@ class DataLocator:
# fsspec.filesystem will throw RuntimeError if the protocol is unsupported
if self.protocol == "s3" and region_name:
self.fs = fsspec.filesystem(
self.protocol, config_kwargs={"region_name": region_name}
)
self.fs = fsspec.filesystem(self.protocol, config_kwargs={"region_name": region_name})
else:
self.fs = fsspec.filesystem(self.protocol)