Skip to content

Commit

Permalink
Add parentheses around the walrus assignment expression to make it va…
Browse files Browse the repository at this point in the history
…lid Python
  • Loading branch information
JokeWaumans committed Aug 16, 2024
1 parent 49c2580 commit e31b716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlx/coverity_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def get_defects(self, stream, filters, column_names):
if filter_values:
query_filters.append(self.assemble_query_filter(filter.name, filter_values, filter.matcher_type))

if filter := filters["component"] and filter_values := self.handle_component_filter(filter):
if (filter := filters["component"]) and (filter_values := self.handle_component_filter(filter)):
query_filters.append(self.assemble_query_filter("Component", filter_values, "nameMatcher"))

data = {
Expand Down

0 comments on commit e31b716

Please sign in to comment.