Skip to content

Conversation

@TomeHirata
Copy link
Collaborator

No description provided.

@TomeHirata TomeHirata requested a review from Copilot September 24, 2025 11:08
Copy link
Contributor

Copilot AI left a comment

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 enforces absolute imports throughout the dte_adj package by adding Ruff linting rules and converting all relative imports to absolute imports.

  • Adds Ruff configuration to ban relative imports (TID252 rule)
  • Converts all relative imports to absolute imports using the dte_adj package prefix
  • Updates import formatting in __init__.py for better readability

Reviewed Changes

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

Show a summary per file
File Description
pyproject.toml Adds Ruff linting configuration to enforce absolute imports
dte_adj/stratified.py Converts relative import of base module to absolute import
dte_adj/simple.py Converts relative import of stratified module to absolute import
dte_adj/local.py Converts relative imports of stratified and util modules to absolute imports
dte_adj/init.py Converts all relative imports to absolute imports and improves formatting

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

@TomeHirata TomeHirata merged commit 49b6a4b into main Sep 24, 2025
6 checks passed
@TomeHirata TomeHirata deleted the refactor/absolute-import branch September 24, 2025 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant