Skip to content

Commit 50a11b3

Browse files
committed
Adding plugin setup
1 parent 2ac95e8 commit 50a11b3

6 files changed

Lines changed: 63 additions & 3 deletions

File tree

.micropico

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"info": "This file is just used to identify a project folder."
3+
}

.vscode/extensions.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"recommendations": [
3+
"ms-python.python",
4+
"visualstudioexptteam.vscodeintellicode",
5+
"ms-python.vscode-pylance",
6+
"paulober.pico-w-go"
7+
]
8+
}

.vscode/settings.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,20 @@
1919
"editor.wordWrapColumn": 80
2020
},
2121
"editor.tabSize": 4,
22-
"terminal.integrated.commandsToSkipShell": ["aichat.newchataction"]
22+
"terminal.integrated.commandsToSkipShell": ["aichat.newchataction"],
23+
"python.languageServer": "Pylance",
24+
"python.analysis.typeCheckingMode": "basic",
25+
"python.analysis.diagnosticSeverityOverrides": {
26+
"reportMissingModuleSource": "none"
27+
},
28+
"python.terminal.activateEnvironment": false,
29+
"micropico.openOnStart": true,
30+
"python.analysis.typeshedPaths": [
31+
"~/.micropico-stubs/included"
32+
],
33+
"python.analysis.extraPaths": [
34+
"~/.micropico-stubs/included"
35+
],
36+
"micropico.gcBeforeUpload": true,
37+
"micropico.softResetAfterUpload": true
2338
}

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[project]
2-
name = "the-doomsday-algorithm"
2+
name = "micropython-assignment-template"
33
version = "1.0.0"
44
requires-python= ">=3.10"
55
dependencies = [
66
"gatorgrade",
77
"mypy>=1.19.1",
88
"pytest",
9+
"mpremote"
910
]
1011

1112
[tool.pytest]

src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
def main():
2-
pass
2+
print("Hello, World!")
33

44
if __name__ == "__main__":
55
main()

uv.lock

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)