Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Sep 22, 2021
1 parent 69833c2 commit 4a9b300
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion binderhub/app.py
Expand Up @@ -49,7 +49,7 @@
from .log import log_request
from .ratelimit import RateLimiter
from .repoproviders import RepoProvider
from .registry import DockerRegistry, FakeRegistry
from .registry import DockerRegistry
from .main import MainHandler, ParameterizedMainHandler, LegacyRedirectHandler
from .repoproviders import (GitHubRepoProvider, GitRepoProvider,
GitLabRepoProvider, GistRepoProvider,
Expand Down
3 changes: 0 additions & 3 deletions binderhub/build_local.py
Expand Up @@ -2,9 +2,6 @@
Contains build of a docker image from a git repository.
"""

import asyncio
from collections import defaultdict
import datetime
from functools import partial
import json
import os
Expand Down
1 change: 0 additions & 1 deletion binderhub/config.py
@@ -1,4 +1,3 @@
from tornado.log import app_log
from .base import BaseHandler

class ConfigHandler(BaseHandler):
Expand Down
2 changes: 0 additions & 2 deletions binderhub/log.py
Expand Up @@ -6,13 +6,11 @@

import json
import logging
import traceback
from http.cookies import SimpleCookie
from urllib.parse import urlparse
from urllib.parse import urlunparse

from tornado.log import access_log
from tornado.log import LogFormatter
from tornado.web import HTTPError
from tornado.web import StaticFileHandler

Expand Down
1 change: 0 additions & 1 deletion binderhub/tests/test_build.py
Expand Up @@ -3,7 +3,6 @@
import docker
import json
import sys
from collections import namedtuple
from unittest import mock
from urllib.parse import quote
from uuid import uuid4
Expand Down
1 change: 0 additions & 1 deletion binderhub/tests/test_eventlog.py
@@ -1,6 +1,5 @@
import tempfile
import json
from contextlib import redirect_stderr
import logging
from binderhub.events import EventLog
import pytest
Expand Down
1 change: 0 additions & 1 deletion binderhub/tests/test_ratelimit.py
@@ -1,4 +1,3 @@
import time
from unittest import mock

import pytest
Expand Down
2 changes: 0 additions & 2 deletions binderhub/tests/test_registry.py
Expand Up @@ -3,8 +3,6 @@
import json
import os

import pytest

from tornado.web import Application, RequestHandler, HTTPError

from binderhub.registry import DockerRegistry
Expand Down
3 changes: 1 addition & 2 deletions doc/conf.py
Expand Up @@ -18,9 +18,8 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import os.path as op
import sys
import requests

curdir = os.path.dirname(__file__)
sys.path.append(os.path.abspath(os.path.join(curdir, 'script')))

Expand Down
1 change: 0 additions & 1 deletion tools/generate-json-schema.py
Expand Up @@ -11,7 +11,6 @@

import json
import os
import sys

from collections.abc import MutableMapping

Expand Down

0 comments on commit 4a9b300

Please sign in to comment.