Skip to content

Accept additional rules in the adjust() call - #230

Merged
psss merged 3 commits into
mainfrom
adjust-add-rules
Jun 4, 2024
Merged

psss merged 3 commits into
mainfrom
adjust-add-rules

Conversation

@lukaszachy

@lukaszachy lukaszachy commented Apr 11, 2024 •

Copy link
Copy Markdown
Contributor

Use case: Explicit set of the rules to be applied, regardless what is in the Tree.

Could be simplified if/once #229 is merged.

Comment thread fmf/base.py Resolved
@lukaszachy lukaszachy changed the title Allow to provide runtime rules during adjust call Accept additional rules in the adjust call Apr 12, 2024
@lukaszachy
lukaszachy requested review from happz and psss April 12, 2024 14:05
@lukaszachy lukaszachy added this to the 1.4 milestone Apr 12, 2024
@lukaszachy
lukaszachy marked this pull request as ready for review April 12, 2024 14:05
Comment thread fmf/base.py Resolved
Comment thread fmf/base.py Resolved
Comment thread fmf/base.py Resolved
@psss

psss commented Jun 4, 2024

Copy link
Copy Markdown
Member

Could be simplified if/once #229 is merged.

#229 has been merged, @lukaszachy, could you please rebase?

Use case: Explicit set of the rules to be applied, regardless what is in
the Tree.
@lukaszachy

Copy link
Copy Markdown
Contributor Author

Rebased to the current main. As there was a conflict in fmf/base.py it was easier to squash the proposed change first.

Comment thread fmf/base.py Resolved

@psss psss left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, except for the continue statement.

@lukaszachy
lukaszachy requested review from martinhoyer and psss June 4, 2024 14:08

@psss psss left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Now looks good, thanks!

@psss psss changed the title Accept additional rules in the adjust call Accept additional rules in the adjust() call Jun 4, 2024
@psss
psss merged commit 673c83c into main Jun 4, 2024
@psss
psss deleted the adjust-add-rules branch June 4, 2024 15:10
@psss psss self-assigned this Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants