Pico-Stub icon indicating copy to clipboard operation
Pico-Stub copied to clipboard

When linting, Pylance fails to recognize builtin functions such as map and zip

Open ptaylor2018 opened this issue 4 years ago • 0 comments

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?

ptaylor2018 avatar Oct 04 '21 16:10 ptaylor2018