Skip to content

Commit b3c46d1

Browse files
committed
[feat/1316] lint fix
1 parent 7971ec5 commit b3c46d1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

jupyter_server/kernelspecs/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class KernelSpecResourceHandler(web.StaticFileHandler, JupyterHandler):
1717
"""A Kernelspec resource handler."""
1818

19-
SUPPORTED_METHODS = ("GET", "HEAD")
19+
SUPPORTED_METHODS = ("GET", "HEAD") # type:ignore[assignment]
2020
auth_resource = AUTH_RESOURCE
2121

2222
def initialize(self):

jupyter_server/nbconvert/handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class NbconvertFileHandler(JupyterHandler):
9090
"""An nbconvert file handler."""
9191

9292
auth_resource = AUTH_RESOURCE
93-
SUPPORTED_METHODS = ("GET",)
93+
SUPPORTED_METHODS = ("GET",) # type:ignore[assignment]
9494

9595
@web.authenticated
9696
@authorized
@@ -158,7 +158,7 @@ async def get(self, format, path):
158158
class NbconvertPostHandler(JupyterHandler):
159159
"""An nbconvert post handler."""
160160

161-
SUPPORTED_METHODS = ("POST",)
161+
SUPPORTED_METHODS = ("POST",) # type:ignore[assignment]
162162
auth_resource = AUTH_RESOURCE
163163

164164
@web.authenticated

jupyter_server/services/contents/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ class NotebooksRedirectHandler(JupyterHandler):
400400
"PATCH",
401401
"POST",
402402
"DELETE",
403-
)
403+
) # type:ignore[assignment]
404404

405405
@allow_unauthenticated
406406
def get(self, path):

0 commit comments

Comments
 (0)