mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Apply flake8-pyi rule PYI018 (#13116)
This commit is contained in:
parent
efc36ac38f
commit
f76ffdf02b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user