Skip to content

Commit

Permalink
Add Pylance support
Browse files Browse the repository at this point in the history
Fix #152
  • Loading branch information
Martin Welcker authored and Martin Welcker committed Sep 15, 2022
1 parent 7c71655 commit 26b8400
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions micropy/project/template/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"python.autoComplete.extraPaths": {{ paths }},
"python.autoComplete.typeshedPaths": {{ paths }},
"python.analysis.typeshedPaths": {{ paths }},
"python.analysis.extraPaths": {{ paths }},

"python.linting.pylintEnabled": true
}
8 changes: 8 additions & 0 deletions tests/data/project_test/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
"${workspaceRoot}/.micropy/esp32-micropython-1.11.0/stubs",
"${workspaceRoot}/.micropy/esp8266-micropython-1.11.0/stubs"
],
"python.analysis.extraPaths": [
"${workspaceRoot}/.micropy/micropython/frozen",
"${workspaceRoot}/.micropy/micropython/frozen",
"${workspaceRoot}/.micropy/esp32-micropython-1.11.0/frozen",
"${workspaceRoot}/.micropy/esp8266-micropython-1.11.0/frozen",
"${workspaceRoot}/.micropy/esp32-micropython-1.11.0/stubs",
"${workspaceRoot}/.micropy/esp8266-micropython-1.11.0/stubs"
],

"python.linting.pylintEnabled": true
}

0 comments on commit 26b8400

Please sign in to comment.