Enable "from __future__ import annotations" on unix build

This commit is contained in:
Jeff Epler 2023-06-28 09:59:57 -05:00
parent 0f241c9415
commit 164fcb22c2
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
2 changed files with 18 additions and 16 deletions

View File

@ -28,6 +28,7 @@ $(BUILD)/lib/quirc/lib/%.o: CFLAGS += -Wno-shadow -Wno-sign-compare -include sha
SRC_BITMAP := \
shared/runtime/context_manager_helpers.c \
displayio_min.c \
shared-bindings/__future__/__init__.c \
shared-bindings/aesio/aes.c \
shared-bindings/aesio/__init__.c \
shared-bindings/audiocore/__init__.c \
@ -85,6 +86,7 @@ CFLAGS += \
-DCIRCUITPY_AUDIOCORE_DEBUG=1 \
-DCIRCUITPY_BITMAPTOOLS=1 \
-DCIRCUITPY_DISPLAYIO_UNIX=1 \
-DCIRCUITPY_FUTURE=1 \
-DCIRCUITPY_GIFIO=1 \
-DCIRCUITPY_OS_GETENV=1 \
-DCIRCUITPY_RAINBOWIO=1 \

View File

@ -29,22 +29,22 @@ RuntimeError:
ame__
mport
builtins micropython _asyncio _thread
_uasyncio aesio array audiocore
audiomixer binascii bitmaptools btree
cexample cmath collections cppexample
displayio errno ffi framebuf
gc hashlib json math
qrio rainbowio re struct
synthio sys termios traceback
ubinascii uctypes uerrno uheapq
uio ujson ulab ulab.numpy
ulab.numpy.fft ulab.numpy.linalg ulab.scipy
ulab.scipy.linalg ulab.scipy.optimize
ulab.scipy.signal ulab.scipy.special
ulab.utils uos urandom ure
uselect utime utimeq uzlib
zlib
builtins micropython __future__ _asyncio
_thread _uasyncio aesio array
audiocore audiomixer binascii bitmaptools
btree cexample cmath collections
cppexample displayio errno ffi
framebuf gc hashlib json
math qrio rainbowio re
struct synthio sys termios
traceback ubinascii uctypes uerrno
uheapq uio ujson ulab
ulab.numpy ulab.numpy.fft ulab.numpy.linalg
ulab.scipy ulab.scipy.linalg
ulab.scipy.optimize ulab.scipy.signal
ulab.scipy.special ulab.utils uos
urandom ure uselect utime
utimeq uzlib zlib
ime
utime utimeq