Skip to content

Commit 62c98fc

Browse files
committed
fix(typing): fix type checks
1 parent 093fe2e commit 62c98fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/pythonmonkey/cli/pmjs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import sys, os, readline, signal, getopt
77
import pythonmonkey as pm
88
globalThis = pm.eval("globalThis")
9-
evalOpts: pm.EvalOptions = { 'filename': __file__, 'fromPythonFrame': True, 'strict': False }
9+
evalOpts = { 'filename': __file__, 'fromPythonFrame': True, 'strict': False } # type: pm.EvalOptions
1010

1111
if (os.getenv('PMJS_PATH')):
1212
requirePath = list(map(os.path.abspath, os.getenv('PMJS_PATH').split(':')))

python/pythonmonkey/require.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"node_modules"
4242
)
4343
)
44-
evalOpts: pm.EvalOptions = { 'filename': __file__, 'fromPythonFrame': True }
44+
evalOpts = { 'filename': __file__, 'fromPythonFrame': True } # type: pm.EvalOptions
4545

4646
# Add some python functions to the global python object for code in this file to use.
4747
globalThis = pm.eval("globalThis;", evalOpts)

0 commit comments

Comments
 (0)