diff --git a/install.py b/install.py index 75a7fed..195a528 100644 --- a/install.py +++ b/install.py @@ -9,6 +9,9 @@ _all_ = [ "PySide6_Addons>=6.10.2", "PySide6_Essentials>=6.10.2", "shiboken6>=6.10.2", + "librt>=0.8.1", + "mypy>=1.19.1", + "mypy_extensions>=1.1.0", ] windows = [ diff --git a/pyproject.toml b/pyproject.toml index 2fcf249..c9f7965 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,3 @@ dependencies = [ "pyside6>=6.10.2", ] -[tool.mypy] -[[tool.mypy.overrides]] -module = ["win11toast.*"] -follow_untyped_imports = true diff --git a/requirements.txt b/requirements.txt index 44ac27e..5252412 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,3 +5,6 @@ PySide6==6.10.2 PySide6_Addons==6.10.2 PySide6_Essentials==6.10.2 shiboken6==6.10.2 +librt==0.8.1 +mypy==1.19.1 +mypy_extensions==1.1.0 diff --git a/src/mainwindow.py b/src/mainwindow.py index 9bafbf3..272e481 100644 --- a/src/mainwindow.py +++ b/src/mainwindow.py @@ -16,7 +16,7 @@ if sys.platform.startswith('linux'): os.environ["QT_QPA_PLATFORM"] = "xcb" if sys.platform=='windows' or sys.platform=="win32": - from win11toast import toast, notify + from win11toast import toast, notify # type: ignore # Remove this into final release from fake_patch_notes import patch_note