Skip to content

Commit

Permalink
chore: fix types for test image
Browse files Browse the repository at this point in the history
  • Loading branch information
friday committed Apr 14, 2024
1 parent cad2954 commit 7a667ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ulauncher/ui/AppIndicator.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import logging
from pathlib import Path
from typing import Callable
from typing import Any, Callable

import gi
from gi.repository import GObject, Gtk
from pyparsing import Any

# Status icon support is optional. It'll work if you install XApp or AppIndicator3
# Only XApp supports activating the launcher on left click and showing the menu on right click
Expand Down
2 changes: 1 addition & 1 deletion ulauncher/utils/fuzzy_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def _get_matching_blocks_native(query: str, text: str) -> list[Match]:
from Levenshtein import editops, matching_blocks # type: ignore[import-not-found, unused-ignore]

def _get_matching_blocks(query: str, text: str) -> list[tuple[int, int, int]]:
return matching_blocks(editops(query, text), query, text)
return matching_blocks(editops(query, text), query, text) # type: ignore[no-any-return, unused-ignore]

except ImportError:
logger.info(
Expand Down

0 comments on commit 7a667ff

Please sign in to comment.