Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] authored Jul 7, 2020
1 parent 81b4b48 commit fd2144b
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 17 deletions.
1 change: 0 additions & 1 deletion src/labthings/json/encoder.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from flask import make_response, current_app

# Flask JSON encoder so we get UUID, datetime etc support
from flask.json import JSONEncoder
Expand Down
2 changes: 0 additions & 2 deletions src/labthings/json/marshmallow_jsonschema/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

from marshmallow import fields, missing, Schema, validate
from marshmallow.class_registry import get_class
from marshmallow.decorators import post_dump
from marshmallow import RAISE, INCLUDE, EXCLUDE

from .exceptions import UnsupportedValueError
from .validation import handle_length, handle_one_of, handle_range, handle_regexp
Expand Down
11 changes: 1 addition & 10 deletions src/labthings/server/schema.py
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
from ..schema import (
Schema,
FieldSchema,
TaskSchema,
ExtensionSchema,
ActionSchema,
build_action_schema,
pre_load,
pre_dump,
)

2 changes: 0 additions & 2 deletions src/labthings/sync/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import gevent
import time
import logging

from gevent.monkey import get_original
from gevent.lock import BoundedSemaphore

from gevent.event import Event
Expand Down
2 changes: 1 addition & 1 deletion src/labthings/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from zeroconf import IPVersion, ServiceInfo, Zeroconf, get_all_addresses

from geventwebsocket.handler import WebSocketHandler as _WebSocketHandler
from logging import getLogger, StreamHandler, getLoggerClass, Formatter, DEBUG
from logging import getLogger

from .find import current_labthing

Expand Down
1 change: 0 additions & 1 deletion tests/test_td.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import pytest

from labthings import fields
from labthings import td

from labthings.view import View

Expand Down

0 comments on commit fd2144b

Please sign in to comment.