Skip to content

Commit 393f505

Browse files
committed
tools: bump ty to 0.0.69 and fix issues
1 parent 3caa134 commit 393f505

4 files changed

Lines changed: 26 additions & 26 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ typing = [
115115
{ include-group = "docs" },
116116
{ include-group = "script" },
117117
# tools and typing dependencies
118-
"ty ==0.0.64",
118+
"ty ==0.0.69",
119119
"mypy[faster-cache] ==2.3.0",
120120
"typing-extensions >=4.0.0",
121121
# dependency overrides

src/streamlink/plugin/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def streams(
433433
try:
434434
if returned_streams := self._get_streams():
435435
if isinstance(returned_streams, Mapping):
436-
ostreams = list(returned_streams.items()) # ty:ignore[invalid-assignment]
436+
ostreams = list(returned_streams.items())
437437
else:
438438
ostreams = list(returned_streams)
439439
except NoStreamsError:

tests/test_logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def test_logstream_switch(self, log: StreamlinkLogger, output: TextIOWrapper):
339339

340340
handler = log.handlers[0]
341341
assert isinstance(handler, logging.StreamHandler)
342-
handler.setStream(output_ascii) # type: ignore # Expected: Never ???
342+
handler.setStream(output_ascii)
343343

344344
log.info("Bär: 🐻")
345345
assert getvalue(output) == "[test][info] Bär: 🐻\n"

uv.lock

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)