Skip to content

Commit 5f28d6f

Browse files
committed
Specify type of ctx for code completion in effects
1 parent 25ef9fe commit 5f28d6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

demosys/effects/effect.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import moderngl as mgl
12
import os
23
from demosys import resources
34
from pyrr import matrix44, Matrix33, Matrix44, Vector3
@@ -62,7 +63,7 @@ class Effect:
6263
window_aspect = 0
6364

6465
# ModernGL context
65-
ctx = None
66+
ctx = None # type: mgl.Context
6667

6768
# System camera
6869
sys_camera = None

0 commit comments

Comments
 (0)