Skip to content

Commit

Permalink
add some typing annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
fdev31 committed May 16, 2024
1 parent 01d4905 commit 8af2ca8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyprland/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self) -> None:
self.config = {}
self.plugins: dict[str, Plugin] = {}
self.log = get_logger()
self.queues = {}
self.queues: dict[str, asyncio.Queue] = {}
self._set_instance(self)

async def initialize(self) -> None:
Expand Down
4 changes: 2 additions & 2 deletions pyprland/plugins/system_notifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def __init__(self, name) -> None:
"""Initialize the class."""
super().__init__(name)
self.tasks: list[asyncio.Task] = []
self.sources = {}
self.parsers = {}
self.sources: dict[str, asyncio.subprocess.Process] = {}
self.parsers: dict[str, asyncio.Queue] = {}
self.running = True

async def on_reload(self) -> None:
Expand Down
2 changes: 1 addition & 1 deletion pyprland/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Package version."""

VERSION = "2.2.20-31"
VERSION = "2.2.20-32"

0 comments on commit 8af2ca8

Please sign in to comment.