Apply flake8-pyi rule PYI018 (#13116)

This commit is contained in:
Dimitri Papadopoulos Orfanos 2024-11-15 01:36:01 +01:00 committed by GitHub
parent efc36ac38f
commit f76ffdf02b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,9 +10,7 @@ from sphinx.util.console import blue, reset, strip_colors, strip_escape_sequence
if TYPE_CHECKING:
from collections.abc import Callable, Sequence
from typing import Final, TypeVar
_T = TypeVar('_T')
from typing import Final
CURSOR_UP: Final[str] = '\x1b[2A' # ignored ANSI code
ERASE_LINE: Final[str] = '\x1b[2K' # supported ANSI code