-
Notifications
You must be signed in to change notification settings - Fork 2.2k
add type stub for decorators.py #38325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
add type stub for decorators.py #38325
Conversation
PR #38325: Size comparison from 61897c7 to e082a08 Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
…nd fix mypy errors
PR #38325: Size comparison from 61897c7 to 797fbc9 Increases above 0.2%:
Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #38325: Size comparison from 61897c7 to 7118a81 Increases above 0.2%:
Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
src/python_testing/matter_testing_infrastructure/chip/testing/decorators.py:212
- [nitpick] Consider adding the specific mypy error code in this type ignore comment to clarify which issue is being suppressed.
feature_map = wildcard.attributes[endpoint][cluster][cluster.Attributes.FeatureMap] # type: ignore
src/python_testing/matter_testing_infrastructure/chip/testing/decorators.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, however I would suggest to add explaining comments why we add "type-ignore" statements
Testing
CI and local testing
Added type stub to decorators.py and back-references in comments of existing type stubs.