Skip to content

Commit eb117be

Browse files
committed
remove unused imports
1 parent b9ef96a commit eb117be

File tree

5 files changed

+5
-13
lines changed

5 files changed

+5
-13
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,8 @@ As an example:
121121
"media_duration": 67.578776,
122122
"media_title": "04 - Madvillain - Bistro.mp3",
123123
"percents": [
124-
[
125-
1614905960,
126-
11.150022
127-
],
128-
[
129-
1614905981,
130-
11.151141
131-
]
124+
[1614905960, 11.150022],
125+
[1614905981, 11.151141]
132126
],
133127
"metadata": {}
134128
}

mpv_history_daemon/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import logging
55
import importlib
66
from pathlib import Path
7-
from typing import Any, Optional, Union, Literal
7+
from typing import Any, Literal
88
from collections.abc import Sequence, Iterator
99
from tempfile import gettempdir
1010
from kompress import CPath

mpv_history_daemon/daemon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import threading
2020
import signal
2121
from pathlib import Path
22-
from typing import Optional, Any
22+
from typing import Any
2323
from time import sleep, time
2424

2525
from python_mpv_jsonipc import MPV # type: ignore[import]

mpv_history_daemon/events.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
from typing import (
1212
NamedTuple,
1313
Any,
14-
Optional,
15-
Union,
1614
)
1715
from collections.abc import Callable
1816
from collections.abc import Iterator, Sequence

mpv_history_daemon/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import os
88
import logging
99
from urllib.parse import urlparse
10-
from typing import Optional, Any, NamedTuple
10+
from typing import Any, NamedTuple
1111

1212
from .events import Media
1313

0 commit comments

Comments
 (0)