Skip to content

[code-quality] hidden-import: deferred import inside _render_custom() #151

Open
neuralsignal wants to merge 1 commit into
mainfrom
claude/145--code-quality-hidden-import-deferred-import-inside
Open

[code-quality] hidden-import: deferred import inside _render_custom() #151
neuralsignal wants to merge 1 commit into
mainfrom
claude/145--code-quality-hidden-import-deferred-import-inside

Conversation

@neuralsignal
Copy link
Copy Markdown
Owner

Closes #145

Summary

Auto-implemented by Claude from issue #145.

Test plan

  • Tests pass in CI
  • Code review approved
  • Manual verification (if applicable)

Move `validate_custom_formula` import from inside `_render_custom()` to
the top of `formula_engine.py`. No circular dependency exists, so the
deferred import was unnecessary and hid the dependency from readers and
static analysis tools.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot marked this pull request as ready for review May 22, 2026 10:16
@github-actions
Copy link
Copy Markdown
Contributor

Documentation Review

Files reviewed: excel_model/formula_engine.py

Issues: None

Verdict: LGTM

This PR moves a deferred import (validate_custom_formula) from inside _render_custom() to the module level — a pure code organization chore with no behavioral change. No public API functions were added or modified, no user-facing behavior changed, no new features introduced, and no TODO/FIXME/HACK comments are present. CHANGELOG and README updates are not required.

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-quality] hidden-import: deferred import inside _render_custom() in formula_engine.py

1 participant