-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
ref(mqb): Remove the flag for defaulting tags #71697
Conversation
wmak
commented
May 29, 2024
- This flag has been GA'ed for a while now so lets just default it now since we should always do this
- This flag has been GA'ed for a while now so lets just default it now since we should always do this
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #71697 +/- ##
==========================================
- Coverage 78.01% 77.70% -0.32%
==========================================
Files 6632 6631 -1
Lines 296035 295786 -249
Branches 50986 50934 -52
==========================================
- Hits 230957 229834 -1123
- Misses 58794 59618 +824
- Partials 6284 6334 +50
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This pull request has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you add the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
(len(self.valid_tags) > 0 and value in self.valid_tags) | ||
or len(self.valid_tags) == 0 | ||
or self.use_on_demand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: check the override cases first for better legibility and remove the redundant len > 0 check
(len(self.valid_tags) > 0 and value in self.valid_tags) | |
or len(self.valid_tags) == 0 | |
or self.use_on_demand | |
len(self.valid_tags) == 0 | |
or self.use_on_demand | |
or value in self.valid_tags |
This pull request has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you add the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |