You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch prepares the repository for type checks with ty and adds an
experimental CI job that runs the checks.
ty detected these problems in the current code:
- TrussedBootloaderNrf52.update renamed an argument while overriding
TrussedBootloader.update
- Some ConfigFieldType functions did not handle unexpected variants.
Ideally, we would use typing.assert_never here, but this has only
been added in Python 3.11.
- logger.warn is deprecated in favor of logger.warning.
We still have to ignore these false-positives:
- @functools.total_ordering is not handled correctly, see
astral-sh/ty#1202
- Some imports from fake-winreg are not handled correctly, but this
could also be a problem with fake-winreg.
0 commit comments