Skip to content

refactor: rename RuleGroup.TIER4 to RuleGroup.TIERIV#226

Merged
ktro2828 merged 1 commit into
mainfrom
refactor/sanity/rule-group/tieriv
Nov 18, 2025
Merged

refactor: rename RuleGroup.TIER4 to RuleGroup.TIERIV#226
ktro2828 merged 1 commit into
mainfrom
refactor/sanity/rule-group/tieriv

Conversation

@ktro2828

Copy link
Copy Markdown
Collaborator

What

This pull request updates the naming of one of the enum members in the RuleGroup class to improve clarity and consistency. The corresponding test has also been updated to reflect this change.

Enum renaming for clarity:

  • Renamed the TIER4 enum member to TIERIV in the RuleGroup class in t4_devkit/sanity/registry.py to use Roman numerals for consistency.

Test update:

  • Updated the test in tests/sanity/test_sanity_registry.py to use TIERIV instead of TIER4 when checking the mapping from rule IDs.

Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
Copilot AI review requested due to automatic review settings November 18, 2025 05:05
@github-actions github-actions Bot added ci Continuous Integration (CI) processes and testing refactor Refactoring code or increasing performance labels 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 refactors the RuleGroup enum to use Roman numeral naming convention by renaming TIER4 to TIERIV, ensuring consistency across the codebase.

Key Changes:

  • Updated enum member name from TIER4 to TIERIV in the RuleGroup class
  • Updated corresponding test assertion to reference the renamed enum member

Reviewed Changes

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

File Description
t4_devkit/sanity/registry.py Renamed RuleGroup.TIER4 enum member to RuleGroup.TIERIV
tests/sanity/test_sanity_registry.py Updated test to reference RuleGroup.TIERIV instead of RuleGroup.TIER4

💡 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
3900 3234 83% 50% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
t4_devkit/sanity/registry.py 91% 🟢
TOTAL 91% 🟢

updated for commit: 1e30d09 by action🐍

@ktro2828 ktro2828 merged commit a3496e8 into main Nov 18, 2025
5 checks passed
@ktro2828 ktro2828 deleted the refactor/sanity/rule-group/tieriv branch November 18, 2025 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous Integration (CI) processes and testing refactor Refactoring code or increasing performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants