Use builtin generics and X | None

Since Python 3.9 and 3.10, `list`, `tuple`, and `X | None`
replace `typing.List`, `typing.Tuple`, and `typing.Optional`
This commit is contained in:
Alexander Hess 2026-11-30 15:07:38 +01:00
commit c6518f6b39
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -27,8 +27,9 @@ import itertools
import os
import pathlib
import tempfile
from collections.abc import Generator
from collections.abc import Mapping
from typing import Any, Generator
from typing import Any
import nox
from nox.sessions import Session