Skip to content

Commit 7a14af1

Browse files
committed
fix mypy
1 parent c8e4ede commit 7a14af1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_server/serverapp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ def init_resources(self):
20532053
)
20542054
return
20552055

2056-
old_soft, old_hard = resource.getrlimit(resource.RLIMIT_NOFILE) # noqa
2056+
old_soft, old_hard = resource.getrlimit(resource.RLIMIT_NOFILE)
20572057
soft = self.min_open_files_limit
20582058
hard = old_hard
20592059
if old_soft < soft:
@@ -2064,7 +2064,7 @@ def init_resources(self):
20642064
old_soft, soft, old_hard, hard
20652065
)
20662066
)
2067-
resource.setrlimit(resource.RLIMIT_NOFILE, (soft, hard)) # noqa
2067+
resource.setrlimit(resource.RLIMIT_NOFILE, (soft, hard))
20682068

20692069
def _get_urlparts(self, path=None, include_token=False):
20702070
"""Constructs a urllib named tuple, ParseResult,

0 commit comments

Comments
 (0)