Skip to content

Commit cdd1ba5

Browse files
committed
Merge branch 'mypy_v3'
Signed-off-by: Jos Verlinde <[email protected]>
2 parents 0fb2693 + b6f3a31 commit cdd1ba5

File tree

2,123 files changed

+59975
-91504
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,123 files changed

+59975
-91504
lines changed

.vscode/settings.json

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
11
{
22
"workbench.colorCustomizations": {
33
"activityBar.activeBorder": "#422c74",
4-
"activityBar.activeBackground": "#2f7c47",
5-
"activityBar.background": "#2f7c47",
6-
"activityBar.foreground": "#e7e7e7",
7-
"activityBar.inactiveForeground": "#e7e7e799",
8-
"activityBarBadge.background": "#422c74",
4+
"activityBar.activeBackground": "#87b495",
5+
"activityBar.background": "#87b495",
6+
"activityBar.foreground": "#15202b",
7+
"activityBar.inactiveForeground": "#15202b99",
8+
"activityBarBadge.background": "#74629d",
99
"activityBarBadge.foreground": "#e7e7e7",
10-
"commandCenter.border": "#e7e7e799",
11-
"editorGroup.border": "#2f7c47",
12-
"panel.border": "#2f7c47",
13-
"sash.hoverBorder": "#2f7c47",
14-
"statusBar.background": "#215732",
15-
"statusBar.foreground": "#e7e7e7",
16-
"statusBarItem.hoverBackground": "#2f7c47",
17-
"statusBarItem.remoteBackground": "#215732",
18-
"statusBarItem.remoteForeground": "#e7e7e7",
19-
"tab.activeBorder": "#2f7c47",
20-
"titleBar.activeBackground": "#215732",
21-
"titleBar.activeForeground": "#e7e7e7",
22-
"titleBar.inactiveBackground": "#21573299",
23-
"titleBar.inactiveForeground": "#e7e7e799"
10+
"commandCenter.border": "#15202b99",
11+
"editorGroup.border": "#87b495",
12+
"panel.border": "#87b495",
13+
"sash.hoverBorder": "#87b495",
14+
"statusBar.background": "#67a179",
15+
"statusBar.foreground": "#15202b",
16+
"statusBarItem.hoverBackground": "#518461",
17+
"statusBarItem.remoteBackground": "#67a179",
18+
"statusBarItem.remoteForeground": "#15202b",
19+
"tab.activeBorder": "#87b495",
20+
"titleBar.activeBackground": "#67a179",
21+
"titleBar.activeForeground": "#15202b",
22+
"titleBar.inactiveBackground": "#67a17999",
23+
"titleBar.inactiveForeground": "#15202b99"
2424
},
2525
"peacock.color": "#215732",
26+
"peacock.remoteColor": "#67a179",
2627
// To ignore ALL CAPS in all files
2728
"cSpell.ignoreRegExpList": [
2829
"/\\b[A-Z]+\\b/g"
@@ -101,7 +102,7 @@
101102
"python.analysis.diagnosticMode": "openFilesOnly",
102103
"python.languageServer": "Pylance",
103104
"[python]": {
104-
"editor.defaultFormatter": "ms-python.black-formatter"
105+
"editor.defaultFormatter": "charliermarsh.ruff"
105106
},
106107
"python.formatting.provider": "none",
107108
"python.analysis.supportRestructuredText": true,

Manual stub build chain.ipynb

Lines changed: 5930 additions & 0 deletions
Large diffs are not rendered by default.

data/all_packages.db

0 Bytes
Binary file not shown.

data/stub-packages.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@
9292
"GENERIC",
9393
""
9494
],
95+
[
96+
"micropython-unix-stubs",
97+
"1.24.1",
98+
"unix",
99+
"GENERIC",
100+
""
101+
],
95102
[
96103
"micropython-webassembly-stubs",
97104
"1.24.1",

publish/micropython-stdlib-stubs/README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,20 @@ this package is built using `uv build` and published using `uv publish`.
4040
```
4141

4242
- commit the changes to the micropython-stdlib-stubs repository
43-
43+
44+
## asyncio notes
45+
## asyncio
46+
- no _asyncio.pyi stubs to avoid conflict with stdlib re-use
47+
48+
- Generators
49+
are not values - but are always callables, or coroutines
50+
so rewrite
51+
`open_connection: Generator ## = <generator>`
52+
to
53+
`async def open_connection () -> Callable[..., Awaitable[Tuple[StreamReader, StreamWriter]]]`
54+
or similar
55+
56+
4457
## Publish to PyPi
4558
4659
Publish using `uv publish`.

0 commit comments

Comments
 (0)