Skip to content

Commit 283b3dc

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1f73b15 commit 283b3dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_server/gateway/gateway_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ def init_static_args(self):
381381
if self.request_timeout < minimum_request_timeout:
382382
self.request_timeout = minimum_request_timeout
383383
elif self.request_timeout > minimum_request_timeout:
384-
GatewayClient.KERNEL_LAUNCH_TIMEOUT = (
385-
int(self.request_timeout - self.launch_timeout_pad)
384+
GatewayClient.KERNEL_LAUNCH_TIMEOUT = int(
385+
self.request_timeout - self.launch_timeout_pad
386386
)
387387
# Ensure any adjustments are reflected in env.
388388
os.environ["KERNEL_LAUNCH_TIMEOUT"] = str(GatewayClient.KERNEL_LAUNCH_TIMEOUT)

0 commit comments

Comments
 (0)