vscode-circuitpython
vscode-circuitpython copied to clipboard
Unresolved "ulab" import
Describe the bug
You have done a fantastic job stubbing out most of CircuitPython and the adafruit libs, but it appears that their "micro" version of numpy
---ulab
---is not included.
To Reproduce Steps to reproduce the behavior:
- Create a CircuitPython project
- Add
import ulab
to code.py - See error
Expected behavior It should be resolved by the Python Language Server and should provide accurate intellisense.
Desktop (please complete the following information):
- OS: Win10 Pro
- Version 19041
Hey there,
This took a bit of figuring out, but it comes down to how I'm generating the stubs, which is the same way adafruit/circuitpython does.
I've been building them off the latest tagged release, which is currently 5.3.0. I noticed on the main branch, they're building the stubs a different way. When I use that method, ulab
is included, so I'll see about cutting a new release that way.