#1290·yapf

can't format `dict[str, Any]`

Author: fatsenCreated Nov 17, 2025Updated Dec 21, 2025

Can't format scripts below. The error is 'IndexError: tuple index out of range'.

python
from typing import Any, Callable

type Data = dict[str, Any]

python version: 3.13.3 operating system: windows 10 yapf version: 0.43.0

Thank you.