Fix some typing errors

It seems like the type hints have gotten better :)
This commit is contained in:
I-Al-Istannen
2025-10-19 15:59:08 +02:00
parent 5646e933fd
commit ebcfb2a2f3
10 changed files with 51 additions and 71 deletions

View File

@@ -3,7 +3,7 @@ import sys
import traceback
from collections.abc import AsyncIterator, Iterator
from contextlib import AbstractContextManager, asynccontextmanager, contextmanager
from typing import Optional
from typing import Any, Optional
from rich.console import Console, Group
from rich.live import Live
@@ -122,7 +122,7 @@ class Log:
for line in self._lines:
self.print(line)
def print(self, text: str) -> None:
def print(self, text: Any) -> None:
"""
Print a normal message. Allows markup.
"""