Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

support for magics v2 #34

Open
edublancas opened this issue Jan 31, 2022 · 0 comments
Open

support for magics v2 #34

edublancas opened this issue Jan 31, 2022 · 0 comments

Comments

@edublancas
Copy link
Contributor

We recently introduced support for magics: we comment the lines that are line, cell magics, or inline shell commands.

e.g.,:

%timeit something()

%cd stuff

! echo hello

This works fine in many cases, however, it'll break under others since we're ignoring the arguments passed to the magic. This arguments may contain variables that the given section should use as inputs:

# should consider x and y inputs for this node
%timeit x + y
# should consider x as input
 ! echo $x
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant