chore(python): fixup `noqa:` comment following Ruff nit
What changed, and why it matters
This is a trivial Python linting cleanup. It changes two `# noqa: I` comments to `# noqa: I900` so that the Ruff linter accepts them. No code behavior is altered, and there is no security relevance.
No security action needed. This is a non-functional style/linting fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit modifies only linter suppression comments in python/src/trezorlib/qt/pinmatrix.py. The I code was not recognized by Ruff; I900 is the correct code for the intended import-related suppression. The actual import statements and all runtime logic remain identical.
Changed components
python/src/trezorlib/qt/pinmatrix.pyInspect captured patch +2 / −2
### python/src/trezorlib/qt/pinmatrix.py
@@ -33,8 +33,8 @@
QWidget,
)
except Exception:
- from PyQt4.QtCore import QT_VERSION_STR, SIGNAL, QObject, QRegExp, Qt # noqa: I
- from PyQt4.QtGui import ( # noqa: I
+ from PyQt4.QtCore import QT_VERSION_STR, SIGNAL, QObject, QRegExp, Qt # noqa: I900
+ from PyQt4.QtGui import ( # noqa: I900
QApplication,
QGridLayout,
QHBoxLayout,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.