update
This commit is contained in:
parent
2fe043aee7
commit
c57a8ce386
17
.vscode/PythonImportHelper-v2-Completion.json
vendored
17
.vscode/PythonImportHelper-v2-Completion.json
vendored
@ -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
3
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"python.analysis.typeCheckingMode": "basic"
|
||||
}
|
@ -1 +1 @@
|
||||
def pytest_glfw_window()->int:...
|
||||
from . import tests
|
1
src/glpy/tests.py
Normal file
1
src/glpy/tests.py
Normal file
@ -0,0 +1 @@
|
||||
def glfw_window(width:int,height:int,title:str)->int:...
|
@ -1,3 +1,6 @@
|
||||
from pydoc import doc
|
||||
import glpy as gl
|
||||
|
||||
print(gl.pytest_glfw_window())
|
||||
print(doc(gl))
|
||||
|
||||
print(gl.tests.glfw_window(1000,500,"你好"))
|
||||
|
Loading…
Reference in New Issue
Block a user