Enable pylance in %%python3 and %%mypy cells #13713
Josverl
started this conversation in
Tips, Tricks and Workarounds
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was able to implement this functionality using an input transformer to remove/cleanup the
#
before Pylance gets at it.for reference: #13327
Result :

This depends-on the fact that Pylance is (currently) not smart enough to do the same , and also fixes the same problem for the %%pythonX magics
Beta Was this translation helpful? Give feedback.
All reactions