Skip to content

Commit 81c2d22

Browse files
committed
Fix black formatting
1 parent 789158b commit 81c2d22

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

fsspec/implementations/local.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,16 @@ def info(self, path, **kwargs):
6565
t = "file"
6666
else:
6767
t = "other"
68-
result = {"name": path, "size": out.st_size, "type": t, "created": out.st_ctime, "islink": os.path.islink(path)}
68+
result = {
69+
"name": path,
70+
"size": out.st_size,
71+
"type": t,
72+
"created": out.st_ctime,
73+
"islink": os.path.islink(path),
74+
}
6975
for field in ["mode", "uid", "gid", "mtime"]:
7076
result[field] = getattr(out, "st_" + field)
71-
if result['islink']:
77+
if result["islink"]:
7278
result["destination"] = os.readlink(path)
7379
try:
7480
out2 = os.stat(path, follow_symlinks=True)

0 commit comments

Comments
 (0)