Skip to content

fix: resolve invalid import#232

Merged
ktro2828 merged 1 commit into
mainfrom
fix/typing/camera-intrinsic-like
Nov 19, 2025
Merged

fix: resolve invalid import#232
ktro2828 merged 1 commit into
mainfrom
fix/typing/camera-intrinsic-like

Conversation

@ktro2828

Copy link
Copy Markdown
Collaborator

What

This pull request standardizes the naming of the camera intrinsic type throughout the codebase by renaming CamIntrinsicLike to CameraIntrinsicLike in both type annotations and documentation. This change improves code readability and consistency.

Type annotation and import renaming:

  • Updated all references of CamIntrinsicLike to CameraIntrinsicLike in type annotations and imports in both t4_devkit/tier4.py and t4_devkit/viewer/viewer.py to maintain consistent naming. [1] [2] [3] [4] [5]

Documentation updates:

  • Updated docstrings to use CameraIntrinsicLike instead of CamIntrinsicLike for parameters describing the camera intrinsic matrix. [1] [2]

Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Copilot AI review requested due to automatic review settings November 18, 2025 21:43
@github-actions github-actions Bot added the bug Something isn't working label Nov 18, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR resolves an invalid import by standardizing the camera intrinsic type name from CamIntrinsicLike to CameraIntrinsicLike throughout the codebase. This improves naming consistency and readability.

Key changes:

  • Updated type imports to use CameraIntrinsicLike instead of CamIntrinsicLike
  • Renamed type annotations in function signatures and return types
  • Updated docstring references to reflect the new type name

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
t4_devkit/tier4.py Updated import statement and return type annotation to use CameraIntrinsicLike
t4_devkit/viewer/viewer.py Updated import statement, function parameter type annotations, and docstring references to use CameraIntrinsicLike

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

github-actions Bot commented Nov 18, 2025

Copy link
Copy Markdown
Contributor

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
3957 3255 82% 50% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
t4_devkit/tier4.py 82% 🟢
t4_devkit/viewer/viewer.py 87% 🟢
TOTAL 85% 🟢

updated for commit: 192af56 by action🐍

@ktro2828 ktro2828 merged commit 5780512 into main Nov 19, 2025
5 of 6 checks passed
@ktro2828 ktro2828 deleted the fix/typing/camera-intrinsic-like branch November 19, 2025 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants