Compare commits

...

2 Commits

Author SHA1 Message Date
07453bd3ec update 2024-06-29 00:06:02 +08:00
c57a8ce386 update 2024-06-28 21:17:03 +08:00
6 changed files with 25 additions and 2 deletions

View File

@ -43,6 +43,14 @@
"detail": "sys",
"documentation": {}
},
{
"label": "doc",
"importPath": "pydoc",
"description": "pydoc",
"isExtraImport": true,
"detail": "pydoc",
"documentation": {}
},
{
"label": "glpy",
"kind": 6,
@ -132,5 +140,14 @@
"peekOfCode": "sys.prefix = base",
"detail": ".venv.Scripts.activate_this",
"documentation": {}
},
{
"label": "glfw_window",
"kind": 2,
"importPath": "src.glpy.tests",
"description": "src.glpy.tests",
"peekOfCode": "def glfw_window(width:int,height:int,title:str)->int:...",
"detail": "src.glpy.tests",
"documentation": {}
}
]

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"python.analysis.typeCheckingMode": "basic"
}

View File

@ -1 +1 @@
def pytest_glfw_window()->int:...
from . import tests

1
src/glpy/tests.py Normal file
View File

@ -0,0 +1 @@
def glfw_window(width:int,height:int,title:str)->int:...

View File

@ -1,3 +1,5 @@
from pydoc import doc
import glpy as gl
print(gl.pytest_glfw_window())
print(gl.tests.glfw_window(width=500,height=500,title="I'm Zengtudor"))

View File