Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
tsundvoll committed Dec 11, 2024
1 parent c8ff71c commit 5a015b5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
13 changes: 0 additions & 13 deletions src/robot_interface/models/inspection/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +0,0 @@
from .inspection import (
Audio,
Image,
ImageMetadata,
Inspection,
InspectionMetadata,
ThermalImage,
ThermalImageMetadata,
ThermalVideo,
ThermalVideoMetadata,
Video,
VideoMetadata,
)
2 changes: 1 addition & 1 deletion src/robot_interface/models/mission/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from pydantic import BaseModel, Field

from robot_interface.models.exceptions.robot_exceptions import ErrorMessage
from robot_interface.models.inspection import (
from robot_interface.models.inspection.inspection import (
Audio,
Image,
Inspection,
Expand Down
4 changes: 0 additions & 4 deletions tests/isar/state_machine/test_state_machine.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
import time
from collections import deque
from pathlib import Path
from threading import Thread
from typing import List

import pytest
from injector import Injector
from pytest_mock import MockerFixture

from isar.config.settings import settings
from isar.mission_planner.local_planner import LocalPlanner
from isar.models.communication.queues.queues import Queues
from isar.services.utilities.scheduling_utilities import SchedulingUtilities
from isar.state_machine.state_machine import StateMachine, main
Expand All @@ -32,7 +29,6 @@

class StateMachineThread(object):
def __init__(self, injector) -> None:
# settings.UPLOAD_INSPECTIONS_ASYNC = False
self.injector: Injector = injector
self.state_machine: StateMachine = injector.get(StateMachine)
self._thread: Thread = Thread(target=main, args=[self.state_machine])
Expand Down

0 comments on commit 5a015b5

Please sign in to comment.