RFC: from __future__ import annotations + migrate

This commit is contained in:
Ronny Pfannschmidt
2024-06-17 17:01:28 +02:00
parent 20dd1d6738
commit 9295f9ffff
242 changed files with 1961 additions and 1777 deletions

View File

@@ -1,7 +1,7 @@
# mypy: allow-untyped-defs
from __future__ import annotations
import pprint
from typing import List
from typing import Tuple
import pytest
@@ -16,7 +16,7 @@ def pytest_generate_tests(metafunc):
@pytest.fixture(scope="session")
def checked_order():
order: List[Tuple[str, str, str]] = []
order: list[tuple[str, str, str]] = []
yield order
pprint.pprint(order)