Skip to content

Commit 0422774

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

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

jupyter_resource_usage/api.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import json
22
from concurrent.futures import ThreadPoolExecutor
33

4-
from jupyter_server.base.handlers import APIHandler
5-
64
import psutil
7-
5+
from jupyter_server.base.handlers import APIHandler
86
from tornado import web
97
from tornado.concurrent import run_on_executor
108

jupyter_resource_usage/server_extension.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
from jupyter_server.utils import url_path_join
2+
from tornado import ioloop
23

34
from jupyter_resource_usage.api import ApiHandler
45
from jupyter_resource_usage.config import ResourceUseDisplay
56
from jupyter_resource_usage.metrics import PSUtilMetricsLoader
67
from jupyter_resource_usage.prometheus import PrometheusHandler
78

8-
from tornado import ioloop
9-
109

1110
def load_jupyter_server_extension(server_app):
1211
"""

jupyter_resource_usage/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import six
2-
32
from traitlets import TraitType
43

54
# copy-pasted from the master of Traitlets source

0 commit comments

Comments
 (0)