Skip to content

fix(BA-5587): remove re-introduced no-infer-dep comments from processors.py#10780

Draft
fregataa wants to merge 2 commits intomainfrom
fix/BA-5587-remove-no-infer-dep-processors
Draft

fix(BA-5587): remove re-introduced no-infer-dep comments from processors.py#10780
fregataa wants to merge 2 commits intomainfrom
fix/BA-5587-remove-no-infer-dep-processors

Conversation

@fregataa
Copy link
Copy Markdown
Member

@fregataa fregataa commented Apr 3, 2026

Summary

  • Remove 128 # pants: no-infer-dep comments from TYPE_CHECKING imports in services/processors.py
  • These were re-introduced by 2e9e8d95e (feat(BA-4829)) after being removed in 019e1551f (fix(BA-4935)), causing 124 mypy [import-not-found] errors on pants check

Test plan

  • pants check src/ai/backend/manager/services/processors.py passes
  • pants lint passes
  • CI checks pass

Resolves BA-5587

…ors.py

The # pants: no-infer-dep comments in TYPE_CHECKING imports were
re-introduced by 2e9e8d9 after being removed in 019e155, causing
124 mypy import-not-found errors on pants check.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 3, 2026 09:13
@github-actions github-actions bot added size:L 100~500 LoC comp:manager Related to Manager component labels Apr 3, 2026
Copy link
Copy Markdown
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

Removes reintroduced # pants: no-infer-dep annotations from TYPE_CHECKING imports in the manager services processor registry to restore correct dependency inference and eliminate mypy [import-not-found] errors during pants check.

Changes:

  • Removed # pants: no-infer-dep comments from the TYPE_CHECKING import block in services/processors.py.
  • Keeps formatting controls (# fmt: off/on) intact while allowing Pants to infer deps for these type-only imports.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:manager Related to Manager component size:L 100~500 LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants