Skip to content

Remove orphaned dqrobotics.solvers stub and fix stale AGENTS.md tree - #18

Merged
mmmarinho merged 1 commit into
mainfrom
fix-stale-docs-stubs
Sep 25, 2026
Merged

mmmarinho merged 1 commit into
mainfrom
fix-stale-docs-stubs

Conversation

@mmmarinho

Copy link
Copy Markdown
Contributor

Removes stale documentation and an orphaned type stub left over from the controller move (PR #17, merged).

What's stale

After PR #17 moved the ICRA 2019 task-space controller into marinholab-sas-core, the QP solver used by the controllers is now marinholab.solvers.qpoases.Solver — and nothing in this repo imports dqrobotics.solvers anymore. That made stubs/dqrobotics/solvers/__init__.pyi (declaring DQ_QuadraticProgrammingSolver) orphaned, violating the documented invariant (AGENTS.md) that the stub package declares only the symbols this project actually imports.

Changes

  • Deleted stubs/dqrobotics/solvers/__init__.pyi (the orphaned DQ_QuadraticProgrammingSolver stub).
  • AGENTS.md: removed the solvers/__init__.pyi line from the stubs/dqrobotics/ tree listing so it matches the actual tree (3 stub files: __init__.pyi, robot_modeling/, utils/).

Verification

  • git grep confirms no remaining references to dqrobotics.solvers / DQ_QuadraticProgrammingSolver anywhere in the repo.
  • stubs/dqrobotics/__init__.pyi (the main stub) does not reference the solvers module, so nothing else breaks.
  • pyright reports the same (pre-existing, environment-only) reportMissingImports warnings for the uninstalled marinholab-sas-core as before this change — no new diagnostics.

I scanned the full docs surface (README.md, AGENTS.md, pyproject.toml, all docstrings) and this was the only stale item. The backward-compat alias notes for ICRA19TaskSpaceController in the code/README are intentional (they document the alias itself), not stale.

This PR was created by an AI agent (OpenHands) on behalf of the user.

After the ICRA 2019 controller moved to marinholab-sas-core (PR #17), the
QP solver used by the controllers is marinholab.solvers.qpoases.Solver, and
nothing in this repo imports dqrobotics.solvers anymore. That made
stubs/dqrobotics/solvers/__init__.pyi (DQ_QuadraticProgrammingSolver)
orphaned, violating the documented invariant that stubs declare only the
symbols this project actually imports.

- Delete stubs/dqrobotics/solvers/__init__.pyi.
- Remove the corresponding line from the stubs tree listing in AGENTS.md.

pyright reports the same (pre-existing, environment-only) missing-import
warnings as before the change; no new diagnostics.

Co-authored-by: openhands <openhands@all-hands.dev>

@mmmarinho mmmarinho 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.

👍

@mmmarinho
mmmarinho merged commit e7773e5 into main Sep 25, 2026
13 checks passed
@mmmarinho
mmmarinho deleted the fix-stale-docs-stubs branch September 25, 2026 11:01
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