Skip to content

Commit 62c16a1

Browse files
committed
fixed formatting
1 parent 65e4129 commit 62c16a1

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

sshfs/spec.py

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ def __init__(
5757
super().__init__(self, **kwargs)
5858

5959
_sftp_client_args = {
60-
k: kwargs.pop(k) for k in kwargs.copy().keys()
61-
if k in {
60+
k: kwargs.pop(k)
61+
for k in kwargs.copy().keys()
62+
if k
63+
in {
6264
"env",
6365
"send_env",
6466
"path_encoding",
@@ -104,13 +106,20 @@ def _get_kwargs_from_urls(urlpath):
104106

105107
@wrap_exceptions
106108
async def _connect(
107-
self, host, pool_type, max_sftp_channels, connect_args, sftp_client_args
109+
self,
110+
host,
111+
pool_type,
112+
max_sftp_channels,
113+
connect_args,
114+
sftp_client_args,
108115
):
109116
self._client_lock = asyncio.Semaphore(_SHELL_CHANNELS)
110117

111118
_raw_client = asyncssh.connect(host, **connect_args)
112119
client = await self._stack.enter_async_context(_raw_client)
113-
pool = pool_type(client, max_channels=max_sftp_channels, **sftp_client_args)
120+
pool = pool_type(
121+
client, max_channels=max_sftp_channels, **sftp_client_args
122+
)
114123
return client, pool
115124

116125
connect = sync_wrapper(_connect)

0 commit comments

Comments
 (0)