Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 22, 2022
1 parent 7295f0a commit 0422774
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions jupyter_resource_usage/api.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import json
from concurrent.futures import ThreadPoolExecutor

from jupyter_server.base.handlers import APIHandler

import psutil

from jupyter_server.base.handlers import APIHandler
from tornado import web
from tornado.concurrent import run_on_executor

Expand Down
3 changes: 1 addition & 2 deletions jupyter_resource_usage/server_extension.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
from jupyter_server.utils import url_path_join
from tornado import ioloop

from jupyter_resource_usage.api import ApiHandler
from jupyter_resource_usage.config import ResourceUseDisplay
from jupyter_resource_usage.metrics import PSUtilMetricsLoader
from jupyter_resource_usage.prometheus import PrometheusHandler

from tornado import ioloop


def load_jupyter_server_extension(server_app):
"""
Expand Down
1 change: 0 additions & 1 deletion jupyter_resource_usage/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import six

from traitlets import TraitType

# copy-pasted from the master of Traitlets source
Expand Down

0 comments on commit 0422774

Please sign in to comment.