Skip to content

Drop unused imports and dead locals in spaces and server - #96

Open
Herklos wants to merge 1 commit into
masterfrom
cursor/python-unused-imports-f2bf
Open

Herklos wants to merge 1 commit into
masterfrom
cursor/python-unused-imports-f2bf

Conversation

@Herklos

@Herklos Herklos commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Drop unused imports in the Python spaces package and the server body-limit middleware.
  • Drop the unread cache_key local in space access hydration and the unread ctx_obj binding in the store context test.

Test plan

  • uvx ruff@0.17.0 check --select F401,F841 on the ten files: all checks passed.
  • uv run --python 3.12 --extra dev pytest in packages/python/spaces: 244 passed.
  • uv run --python 3.12 --extra dev pytest in packages/python/server: 790 passed, 35 deselected.
Open in Web Open in Cursor 

Remove F401 imports and two unread assignments so ruff F401 and F841 are clean on these files, with no behavior change.

Co-authored-by: herklos.dev <herklos.dev@protonmail.com>
@Herklos Herklos self-assigned this Oct 13, 2026

This branch has not been deployed

No deployments
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.

2 participants