fix(tests): reorganize imports - style check
What changed, and why it matters
This commit is a minor code cleanup in a test file. It reorganizes Python import statements to follow style guidelines by importing Callable and Sequence from collections.abc instead of typing. There is no functional change and no security relevance.
No action required. This is a non-security style-only change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies core/tests/test_apps.solana.transaction.py, changing a TYPE_CHECKING import block. Specifically, it moves Callable and Sequence from typing to collections.abc, which is the preferred modern Python style. This is purely a lint/style fix with no runtime behavior change.
Changed components
core/tests/test_apps.solana.transaction.pyInspect captured patch +2 / −1
### core/tests/test_apps.solana.transaction.py
@@ -11,7 +11,8 @@
if TYPE_CHECKING:
from buffer_types import AnyBytes
- from typing import Any, Callable, Sequence, TypeVar
+ from collections.abc import Callable, Sequence
+ from typing import Any, TypeVar
from trezor.utils import Writer
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.