Skip to content

Commit

Permalink
Make mypy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbende committed Nov 6, 2023
1 parent 11c9ee7 commit b704ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion porcupine/_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def open_files(files: Iterable[str]) -> None:
tabmanager.open_file(Path(path_string))


def listen_for_files(message_queue: queue.Queue):
def listen_for_files(message_queue: queue.Queue[Any]) -> None:
try:
message = message_queue.get_nowait()
except queue.Empty:
Expand Down

0 comments on commit b704ca9

Please sign in to comment.