Skip to content

Commit 3508271

Browse files
committed
fix typing issues
1 parent 808d9e9 commit 3508271

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/desktop_notifier/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@
1818
List,
1919
Sequence,
2020
)
21+
from pathlib import Path
2122

2223
from importlib_resources import files, as_file
2324

2425

2526
logger = logging.getLogger(__name__)
2627

27-
PYTHON_ICON_PATH = as_file(
28-
files("desktop_notifier.resources").joinpath("python.png")
28+
PYTHON_ICON_PATH: Path = as_file(
29+
files("desktop_notifier.resources").joinpath("python.png") # type: ignore
2930
).__enter__()
3031

3132

0 commit comments

Comments
 (0)