mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Bump Ruff to 0.9.5 (#13309)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
parent
4467c100b4
commit
203a600888
@ -81,7 +81,7 @@ docs = [
|
|||||||
"sphinxcontrib-websupport",
|
"sphinxcontrib-websupport",
|
||||||
]
|
]
|
||||||
lint = [
|
lint = [
|
||||||
"ruff==0.9.4",
|
"ruff==0.9.5",
|
||||||
"mypy==1.14.1",
|
"mypy==1.14.1",
|
||||||
"sphinx-lint>=0.9",
|
"sphinx-lint>=0.9",
|
||||||
"types-colorama==0.4.15.20240311",
|
"types-colorama==0.4.15.20240311",
|
||||||
|
@ -5,7 +5,8 @@ from __future__ import annotations
|
|||||||
import sys
|
import sys
|
||||||
from os import environ as _environ
|
from os import environ as _environ
|
||||||
|
|
||||||
if False:
|
TYPE_CHECKING = False
|
||||||
|
if TYPE_CHECKING:
|
||||||
from collections.abc import Callable
|
from collections.abc import Callable
|
||||||
|
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
|
@ -6,7 +6,8 @@ from sphinx._cli.util.colour import bold, terminal_supports_colour
|
|||||||
from sphinx.locale import __
|
from sphinx.locale import __
|
||||||
from sphinx.util import logging
|
from sphinx.util import logging
|
||||||
|
|
||||||
if False:
|
TYPE_CHECKING = False
|
||||||
|
if TYPE_CHECKING:
|
||||||
from collections.abc import Callable, Iterable, Iterator
|
from collections.abc import Callable, Iterable, Iterator
|
||||||
from types import TracebackType
|
from types import TracebackType
|
||||||
from typing import Any, ParamSpec, TypeVar
|
from typing import Any, ParamSpec, TypeVar
|
||||||
|
Loading…
Reference in New Issue
Block a user