I've been using ty with circuitpython-stubs to type-check my CircuitPython code, which works well. Recently I started using adafruit-circuitpython-logging and the LEVELS global is throwing a type error.
I posted this to astral-sh/ty#2868 -- seems that LEVELS is handled differently in adafruit_logging compared to cpython, which is causing the type error.
Can LEVELS be handled in a similar way to cpython to avoid this type check error?