Skip to content

Commit 79f766f

Browse files
committed
Reformat file for Ruff changes
1 parent b85848d commit 79f766f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

sync/notify/results.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,30 +174,28 @@ def is_github_only_failure(self, target_browser: str = "firefox") -> bool:
174174
def has_crash(self, target_browser: str = "firefox") -> bool:
175175
return any(
176176
self.iter_filter_status(
177-
lambda browser, _, status: (browser == target_browser and status.is_crash())
177+
lambda browser, _, status: browser == target_browser and status.is_crash()
178178
)
179179
)
180180

181181
def has_new_non_passing(self, target_browser: str = "firefox") -> bool:
182182
return any(
183183
self.iter_filter_status(
184-
lambda browser, _, status: (
185-
browser == target_browser and status.is_new_non_passing()
186-
)
184+
lambda browser, _, status: browser == target_browser and status.is_new_non_passing()
187185
)
188186
)
189187

190188
def has_regression(self, target_browser: str = "firefox") -> bool:
191189
return any(
192190
self.iter_filter_status(
193-
lambda browser, _, status: (browser == target_browser and status.is_regression())
191+
lambda browser, _, status: browser == target_browser and status.is_regression()
194192
)
195193
)
196194

197195
def has_disabled(self, target_browser: str = "firefox") -> bool:
198196
return any(
199197
self.iter_filter_status(
200-
lambda browser, _, status: (browser == target_browser and status.is_disabled())
198+
lambda browser, _, status: browser == target_browser and status.is_disabled()
201199
)
202200
)
203201

0 commit comments

Comments
 (0)