Skip to content

nb_execution_mode=auto should take into account cells with no expected output #416

@bsipocz

Description

@bsipocz

Describe the bug

context and expectation
When I use nb_execution_mode=auto I would expect that execution is skipped when all the code cells are run.

bug
But instead the execution is always run.

problem
This is because some of the cells

I think none of these cases should trigger the execution.

I'm happy to propose a fix in a PR

Reproduce the bug

Run all the cells in the notebook referenced above, save it. Then run sphinx-build -b html -D nb_execution_mode=auto . _build/html on it

List your environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions