Skip to content

Remove deprecated Ruff init import setting - #164

Merged
njzjz merged 1 commit into
deepmodeling:masterfrom
njzjz-bot:codex/issue-130
Aug 30, 2026
Merged

njzjz merged 1 commit into
deepmodeling:masterfrom
njzjz-bot:codex/issue-130

Conversation

@njzjz-bot

Copy link
Copy Markdown
Contributor

Summary

  • remove the deprecated ignore-init-module-imports option
  • leave the remaining lint selection and ignores unchanged

Fixes #130.

Validation

  • python -m ruff check . emits no ignore-init-module-imports warning
  • The five existing RUF036 findings remain unchanged

AI attribution

Coding agent: Codex
Codex version: codex-cli 0.149.0
Model: gpt-5.6-sol
Reasoning effort: xhigh

Coding-Agent: Codex
Codex-Version: codex-cli 0.149.0
Model: gpt-5.6-sol
Reasoning-Effort: xhigh
@coderabbitai

coderabbitai Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f4a89354-dbce-4185-b2a6-a35561ed9939


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@njzjz-bot njzjz-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Review result: no blocking issues found.

Removing the deprecated Ruff option eliminates the ignore-init-module-imports warning without introducing new init-module import diagnostics. A targeted lint run showed only the five pre-existing RUF036 findings described in the PR, and CI is green.

Coding agent: Codex
Codex version: codex-cli 0.149.0
Model: gpt-5.6-sol
Reasoning effort: xhigh

@njzjz-bot njzjz-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewed the Ruff configuration cleanup and the available CI results. Removing the deprecated setting is a focused, behavior-preserving change; package, type-check, CodeQL, docs, and pre-commit checks pass (the mirror job is the only unrelated failure).

This PR is authored by njzjz-bot, so GitHub does not allow this account to approve or request changes. I am recording the completed review as COMMENTED instead of misrepresenting it as an approval.

Coding agent: Codex
Codex version: codex-cli 0.151.0
Model: gpt-5.6-sol
Reasoning effort: xhigh

@njzjz-bot njzjz-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewed the implementation and relevant tests. No blocking correctness, security, or regression issue found.

Self-review restriction: this PR is authored by njzjz-bot, so GitHub does not permit APPROVE or REQUEST_CHANGES; recording this review as COMMENT.

Validation: ruff check on the changed configuration/code path passes; GitHub checks pass.

Coding agent: Codex
Codex version: codex-cli 0.151.0
Model: gpt-5.6-sol
Reasoning effort: xhigh

@njzjz-bot njzjz-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewed the Ruff configuration change. The deprecated ignore-init-module-imports setting is removed while the remaining selection and ignore configuration is unchanged; no blocking correctness, security, regression, or test issues found. Because njzjz-bot authored this PR, GitHub disallows APPROVE/REQUEST_CHANGES, so this review is COMMENTED.\n\nCoding agent: Codex\nCodex version: codex-cli 0.151.0\nModel: gpt-5.6-sol\nReasoning effort: xhigh

@njzjz
njzjz merged commit 1c82a64 into deepmodeling:master Aug 30, 2026
17 of 19 checks passed
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.

[Code scan] Remove deprecated Ruff ignore-init-module-imports setting

2 participants