Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 29, 2024
1 parent 8e26f92 commit 28b411a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions napari_plugin_manager/qt_plugin_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,11 @@ def _update_count_in_label(self):
count = self.available_list.count()
if len(self.all_plugin_data) != 0 and all_count >= 0:
self.avail_label.setText(
trans._("Available Plugins ({count}/{all_count})", count=count, all_count=all_count)
trans._(
"Available Plugins ({count}/{all_count})",
count=count,
all_count=all_count,
)
)

def _end_refresh(self):
Expand Down Expand Up @@ -1038,7 +1042,7 @@ def _add_items(self):
)
if ON_BUNDLE and not is_available_in_conda:
self.available_list.tag_unavailable(project_info)

if len(self._plugin_data) == 0:
break

Expand Down

0 comments on commit 28b411a

Please sign in to comment.