Skip to content

fix: remove unused Tuple imports from screenshot modules - #419

Open
Ricardo-M-L wants to merge 1 commit into
zai-org:mainfrom
Ricardo-M-L:fix/remove-unused-tuple-imports
Open

fix: remove unused Tuple imports from screenshot modules#419
Ricardo-M-L wants to merge 1 commit into
zai-org:mainfrom
Ricardo-M-L:fix/remove-unused-tuple-imports

Conversation

@Ricardo-M-L

Copy link
Copy Markdown

What this PR fixes

Both phone_agent/adb/screenshot.py and phone_agent/hdc/screenshot.py import Tuple from typing but never use it. These dead imports add noise and would trigger linting warnings in strict environments (e.g. flake8 F401, ruff unused-import).

Changes

  • Remove unused from typing import Tuple from phone_agent/adb/screenshot.py
  • Remove unused from typing import Tuple from phone_agent/hdc/screenshot.py

Notes

No functional changes — this is purely a code quality cleanup.

The Tuple type was imported from typing in both adb/screenshot.py
and hdc/screenshot.py but never used. These unused imports add
noise and would trigger linting warnings in strict environments.
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