We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4ce643 commit ce55bfaCopy full SHA for ce55bfa
vscode-test/.vscode/settings.json
@@ -0,0 +1,10 @@
1
+{
2
+ "python.analysis.diagnosticSeverityOverrides": {
3
+ "reportWildcardImportFromLibrary": "none"
4
+ },
5
+ "python.analysis.extraPaths": [
6
+ "../python/code",
7
+ "/Users/swehr/devel/write-your-python-program/python/code"
8
+ ],
9
+ "python.analysis.typeCheckingMode": "off"
10
+}
vscode-test/type-test.py
@@ -0,0 +1,15 @@
+from wypp import *
+
+type OnOff = Literal['on', 'off']
+def test(x: OnOff):
+ pass
+test('blub')
+@record
11
+class Point:
12
+ x: int
13
+ y: int
14
15
+p = Point()
0 commit comments