Skip to content

Commit 56e2478

Browse files
authored
Fix the failing "Test Lint" check on CI (#1540)
1 parent 04dd3e7 commit 56e2478

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All notable changes to this project will be documented in this file.
1010

1111
### Enhancements made
1212

13-
- If ServerApp.ip is ipv6 use [::1] as local_url [#1495](https://github.com/jupyter-server/jupyter_server/pull/1495) ([@manics](https://github.com/manics))
13+
- If ServerApp.ip is ipv6 use \[::1\] as local_url [#1495](https://github.com/jupyter-server/jupyter_server/pull/1495) ([@manics](https://github.com/manics))
1414
- Don't hide .so,.dylib files by default [#1457](https://github.com/jupyter-server/jupyter_server/pull/1457) ([@nokados](https://github.com/nokados))
1515
- Add async start hook to ExtensionApp API [#1417](https://github.com/jupyter-server/jupyter_server/pull/1417) ([@Zsailer](https://github.com/Zsailer))
1616

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") # type:ignore[assignment]
19+
SUPPORTED_METHODS = ("GET", "HEAD")
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",) # type:ignore[assignment]
93+
SUPPORTED_METHODS = ("GET",)
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",) # type:ignore[assignment]
161+
SUPPORTED_METHODS = ("POST",)
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-
) # type:ignore[assignment]
403+
)
404404

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

0 commit comments

Comments
 (0)