Skip to content

Issue 248 force echo filtering by runner#271

Merged
eldipa merged 6 commits intomasterfrom
Issue-248-Force-Echo-Filtering-by-Runner
Oct 30, 2022
Merged

Issue 248 force echo filtering by runner#271
eldipa merged 6 commits intomasterfrom
Issue-248-Force-Echo-Filtering-by-Runner

Conversation

@eldipa
Copy link
Copy Markdown
Collaborator

@eldipa eldipa commented Oct 30, 2022

Closes #248

….5 code)

The add_argument, add_flag are not specific of a argument  parser but of
a separated container class. This _OptionActionContainer mirrors the
non-public argparse._ActionsContainer

This commits also removed pre-Python 3.5 code
…ltering-for

When passing +force-echo-filtering on the command line, this has the
nasty effect of affecting all the runners. With
+force-echo-filtering-for now it is possible to enforce the filtering on
a subset.

+force-echo-filtering-for and +force-echo-filtering are mutually
exclusive in the command line but it is ok to pass
+force-echo-filtering-for in the command line and then
+force-echo-filtering in the example.
@eldipa eldipa added this to the 11.0.0 milestone Oct 30, 2022
…cho_filtering_enforced (API improve)

ExampleRunner/PexpectMixin will use _is_echo_filtering_enforced to
control how the output is processed so a runner wanting to enforce
the filtering needs to override the method.
@eldipa eldipa force-pushed the Issue-248-Force-Echo-Filtering-by-Runner branch from db70643 to 7746ba5 Compare October 30, 2022 18:53
@eldipa eldipa force-pushed the Issue-248-Force-Echo-Filtering-by-Runner branch from 609d5c7 to 43d0931 Compare October 30, 2022 19:51
@eldipa eldipa merged commit 34bfc86 into master Oct 30, 2022
@eldipa eldipa deleted the Issue-248-Force-Echo-Filtering-by-Runner branch October 30, 2022 20:01
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.

Enable +force-echo-filtering per interpreter and not only globally

1 participant