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

docs(is_item_matched): update docstrings for method #4836

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

pedrooot
Copy link
Member

@pedrooot pedrooot commented Aug 22, 2024

Description

Update docstrings for is_item_matched

Checklist

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@pedrooot pedrooot requested review from a team as code owners August 22, 2024 12:44
@github-actions github-actions bot added the mutelist Issues/PRs related with the Mutelist label Aug 22, 2024
@@ -314,6 +314,7 @@ def is_item_matched(matched_items, finding_items, tag=False) -> bool:
Args:
matched_items (list): List of items to be matched.
finding_items (str): String to search for matched items.
tag (bool): If True the search will have a different logic due to the tags being ORed or ANDed.
Copy link
Member

Choose a reason for hiding this comment

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

Please give this some care and explain the new logic perform while checking for muted tags. Thanks!

Copy link
Member Author

Choose a reason for hiding this comment

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

Done!

Copy link

codecov bot commented Aug 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.16%. Comparing base (ff24413) to head (71f6f0a).
Report is 564 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4836      +/-   ##
==========================================
+ Coverage   89.11%   89.16%   +0.04%     
==========================================
  Files         928      933       +5     
  Lines       28428    28567     +139     
==========================================
+ Hits        25335    25473     +138     
- Misses       3093     3094       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@jfagoagas jfagoagas self-requested a review August 23, 2024 07:16
@jfagoagas jfagoagas merged commit b7e2034 into master Aug 23, 2024
11 checks passed
@jfagoagas jfagoagas deleted the PRWLR-4625-update-is-item-matched-from-docs branch August 23, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mutelist Issues/PRs related with the Mutelist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants