Skip to content

style: add typing#194

Merged
ktro2828 merged 1 commit into
mainfrom
style/typing
Oct 2, 2025
Merged

style: add typing#194
ktro2828 merged 1 commit into
mainfrom
style/typing

Conversation

@ktro2828

@ktro2828 ktro2828 commented Oct 2, 2025

Copy link
Copy Markdown
Collaborator

What

This pull request makes a minor update to the type annotation and docstring for the to_autolabel_model static method in the AutolabelModel class. The change improves code clarity and documentation.

  • Updated the type annotation for the x parameter in the to_autolabel_model method to explicitly specify list | None, and revised the docstring to match the new annotation. (t4_devkit/schema/tables/autolabel_metadata.py)

Copilot AI review requested due to automatic review settings October 2, 2025 03:26
@github-actions github-actions Bot added the refactor Refactoring code or increasing performance label Oct 2, 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 adds type annotations to improve code clarity and documentation for the to_autolabel_model static method in the AutolabelModel class.

  • Added explicit type annotation list | None to the x parameter
  • Updated the docstring to reflect the new type annotation format

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread t4_devkit/schema/tables/autolabel_metadata.py Outdated
@github-actions

github-actions Bot commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2716 2084 77% 50% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
t4_devkit/schema/tables/autolabel_metadata.py 100% 🟢
TOTAL 100% 🟢

updated for commit: 12806e4 by action🐍

Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
@ktro2828 ktro2828 merged commit c928a23 into main Oct 2, 2025
5 checks passed
@ktro2828 ktro2828 deleted the style/typing branch October 2, 2025 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactoring code or increasing performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants