Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

support for magics v2 #34

@edublancas

Description

@edublancas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions