Pico-Stub
Pico-Stub copied to clipboard
When linting, Pylance fails to recognize builtin functions such as map and zip
new project, creating a simple script that uses zip() or map() gets a red squiggle. builtins.pyi lacks stubs for these functions, and pylance is only using the pico stubs for linting. I've worked around this by manually updating the stub file, but is there a better solution? Can I set a fallback directory for stubs? Or maybe the pico-stub library just needs to be updated?