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:
dependabot[bot] 2025-02-07 13:14:23 +00:00 committed by GitHub
parent 4467c100b4
commit 203a600888
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View File

@ -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",

View File

@ -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':

View File

@ -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