Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Change RegExRemove to remove code cells with output #1095

Merged
merged 1 commit into from
Sep 5, 2019

Conversation

charlesfrye
Copy link
Contributor

Previously, the RegExRemovePreprocessor treated code cells without outputs specially: they were never removed, even if they matched the regex pattern. This behavior was intentional but only documented in an internal method, check_conditions, not in the docs of an external method. See Issue #1091 for discussion.

This commit removes that behavior and updates the documentation of check_conditions. It further removes the test that checked for this behavior.

Previously, the RegExRemovePreprocessor treated code cells without outputs specially: they were never removed, even if they matched the RegEx. This behavior was intentional but only documented in an internal method, check_conditions, not in the docs of an external method. See Issue jupyter#1091 for discussion.

This commit removes that behavior and updates the documentation of check_conditions. It further removes the test that checked for this behavior.
Copy link
Contributor

@MSeal MSeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MSeal MSeal merged commit a6f89c3 into jupyter:master Sep 5, 2019
@MSeal MSeal added this to the 5.6.1 milestone Oct 21, 2019
@MSeal MSeal added this to the 5.6.1 milestone Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants