microbit-foundation / micropython-microbit-stubs

Type stubs for MicroPython for micro:bit to support the micro:bit Python Editor V3
https://python.microbit.org/
Other
3 stars 2 forks source link

Fix variance issue by using Mapping for log.add. #75

Closed microbit-matt-hillsdon closed 1 year ago

microbit-matt-hillsdon commented 1 year ago

Tests will fail due to translations. I'll have a think about how best to deal with this.

microbit-matt-hillsdon commented 1 year ago

I think it's worth keeping the translations in this repo, even though arguably they're a derived artifact, as it makes them easy to test and use for usecases outside of the Python Editor.

So I think we should start committing the api.json file from Crowdin as we do translation updates so that we can always regenerate the translated stubs from the last known-good translations if we've made a non-translation-related change. I'll do a translation sync that takes that approach and then pick up this PR.

microbit-matt-hillsdon commented 1 year ago

Rebased on #76 and used new script to regenerate translations.