Skip to content

Commit

Permalink
Merge pull request #18 from zrezke/ui-ux-fixes-before-release
Browse files Browse the repository at this point in the history
fix pylint errors
  • Loading branch information
zrezke authored Apr 26, 2023
2 parents e331e35 + 468989e commit 1082a90
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
11 changes: 8 additions & 3 deletions rerun_py/rerun_sdk/depthai_viewer_backend/sdk_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,20 @@
import cv2
import depthai as dai
import numpy as np
import rerun as rr
from ahrs.filters import Mahony
from depthai_sdk import FramePacket
from depthai_sdk.classes.packets import DetectionPacket, IMUPacket, PointcloudPacket, TwoStagePacket
from depthai_sdk.classes.packets import (
DetectionPacket,
IMUPacket,
PointcloudPacket,
TwoStagePacket,
)
from rerun.components.rect2d import RectFormat

import rerun as rr
from depthai_viewer_backend import classification_labels
from depthai_viewer_backend.store import Store
from depthai_viewer_backend.topic import Topic
from rerun.components.rect2d import RectFormat


class EntityPath:
Expand Down
1 change: 0 additions & 1 deletion rerun_py/rerun_sdk/rerun_demo/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def run_cube():
import math

import numpy as np

import rerun as rr

rr.init("Cube", spawn=True, default_enabled=True)
Expand Down
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun_demo/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from math import cos, sin, tau

import numpy as np

from rerun.log.rects import RectFormat

from rerun_demo.turbo import turbo_colormap_data

ColorGrid = namedtuple("ColorGrid", ["positions", "colors"])
Expand Down
1 change: 0 additions & 1 deletion rerun_py/tests/unit/test_color_conversion.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Test for color_conversion module."""
import numpy as np

from rerun.color_conversion import linear_to_gamma_u8_pixel, linear_to_gamma_u8_value


Expand Down

0 comments on commit 1082a90

Please sign in to comment.