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 42c77d5 commit 32715feCopy full SHA for 32715fe
pythonFiles/pyvsc-run-isolated.py
@@ -13,9 +13,9 @@
13
del sys.path[0]
14
del sys.argv[0]
15
module = sys.argv[0]
16
-if module.startswith('-'):
+if module.startswith("-"):
17
raise NotImplementedError(sys.argv)
18
elif module.endswith(".py"):
19
- runpy.run_path(module, run_name='__main__')
+ runpy.run_path(module, run_name="__main__")
20
else:
21
- runpy.run_module(module, run_name='__main__', alter_sys=True)
+ runpy.run_module(module, run_name="__main__", alter_sys=True)
0 commit comments