Skip to content

Commit

Permalink
Fix pylints
Browse files Browse the repository at this point in the history
  • Loading branch information
zrezke committed Mar 18, 2024
1 parent 58bf9f3 commit 6393c6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions rerun_py/depthai_viewer/_backend/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
from typing import Dict, List, Optional, Tuple

import depthai as dai
import depthai_viewer as viewer
import numpy as np
from depthai_sdk import OakCamera
from depthai_sdk.classes.packet_handlers import ComponentOutput
from depthai_sdk.components import CameraComponent, NNComponent, StereoComponent
from depthai_sdk.components.camera_helper import getClosestIspScale
from depthai_sdk.components.tof_component import Component
from numpy.typing import NDArray

import depthai_viewer as viewer
from depthai_viewer._backend.device_configuration import (
ALL_NEURAL_NETWORKS,
CameraConfiguration,
Expand Down Expand Up @@ -43,7 +45,6 @@
)
from depthai_viewer._backend.store import Store
from depthai_viewer.install_requirements import model_dir
from numpy.typing import NDArray


class XlinkStatistics:
Expand Down
7 changes: 4 additions & 3 deletions rerun_py/depthai_viewer/_backend/packet_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import cv2
import depthai as dai
import depthai_viewer as viewer
import numpy as np
from ahrs.filters import Mahony
from depthai_sdk.classes.packets import ( # PointcloudPacket,
Expand All @@ -23,11 +22,13 @@
StereoComponent,
)
from depthai_sdk.components.tof_component import ToFComponent
from numpy.typing import NDArray
from pydantic import BaseModel

import depthai_viewer as viewer
from depthai_viewer._backend.store import Store
from depthai_viewer._backend.topic import Topic
from depthai_viewer.components.rect2d import RectFormat
from numpy.typing import NDArray
from pydantic import BaseModel


class PacketHandlerContext(BaseModel): # type: ignore[misc]
Expand Down

0 comments on commit 6393c6e

Please sign in to comment.