Remove type hints.

This commit is contained in:
Felix Fontein 2025-12-06 18:01:05 +01:00
parent 33f39c977c
commit 0ffc5979ae

View File

@ -375,7 +375,7 @@ def test_parse_events(test_id, compose_version, dry_run, nonzero_rc, stderr, eve
assert collected_warnings == warnings assert collected_warnings == warnings
JSON_TEST_CASES: list[tuple[str, str, str, list[Event], list[str]]] = [ JSON_TEST_CASES = [
( (
"pull-compose-2", "pull-compose-2",
"2.40.3", "2.40.3",
@ -557,15 +557,15 @@ JSON_TEST_CASES: list[tuple[str, str, str, list[Event], list[str]]] = [
ids=[tc[0] for tc in JSON_TEST_CASES], ids=[tc[0] for tc in JSON_TEST_CASES],
) )
def test_parse_json_events( def test_parse_json_events(
test_id: str, test_id,
compose_version: str, compose_version,
stderr: str, stderr,
events: list[Event], events,
warnings: list[str], warnings,
) -> None: ):
collected_warnings = [] collected_warnings = []
def collect_warning(msg: str) -> None: def collect_warning(msg):
collected_warnings.append(msg) collected_warnings.append(msg)
collected_events = parse_json_events( collected_events = parse_json_events(