Skip to content

refactor: remove unused sanity file in common directory#219

Merged
ktro2828 merged 1 commit into
mainfrom
refactor/sanity/remove-unused-file
Nov 14, 2025
Merged

refactor: remove unused sanity file in common directory#219
ktro2828 merged 1 commit into
mainfrom
refactor/sanity/remove-unused-file

Conversation

@ktro2828

Copy link
Copy Markdown
Collaborator

What

This pull request removes the sanity.py module from t4_devkit/common, including the DBException dataclass, DBStatus enum, and the sanity_check function. These components handled dataset validation and error reporting. This is a significant code cleanup, likely indicating these features are deprecated or replaced elsewhere.

Removed dataset sanity checking utilities:

  • Deleted the DBException dataclass, which encapsulated dataset error/warning information.
  • Removed the DBStatus enum, which classified dataset statuses as OK, WARNING, or ERROR.
  • Removed the sanity_check function, which performed dataset validation and returned structured exception or warning information.

Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Copilot AI review requested due to automatic review settings November 14, 2025 04:03

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 removes the entire sanity.py module from the t4_devkit/common directory, eliminating dataset validation functionality that is no longer needed or has been replaced.

Key changes:

  • Removed the DBException dataclass used for storing dataset error/warning information
  • Removed the DBStatus enum used for classifying dataset validation states
  • Removed the sanity_check function that performed dataset validation

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

@github-actions github-actions Bot added the refactor Refactoring code or increasing performance label Nov 14, 2025
@github-actions

github-actions Bot commented Nov 14, 2025

Copy link
Copy Markdown
Contributor

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
3852 2125 55% 50% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 89714e3 by action🐍

@ktro2828 ktro2828 merged commit dfd260f into main Nov 14, 2025
4 of 5 checks passed
@ktro2828 ktro2828 deleted the refactor/sanity/remove-unused-file branch November 14, 2025 04:06
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