Skip to content

Commit

Permalink
Bump Ruff to 0.9.5 (#13309)
Browse files Browse the repository at this point in the history
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 7, 2025
1 parent 4467c10 commit 203a600
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ docs = [
"sphinxcontrib-websupport",
]
lint = [
"ruff==0.9.4",
"ruff==0.9.5",
"mypy==1.14.1",
"sphinx-lint>=0.9",
"types-colorama==0.4.15.20240311",
Expand Down
3 changes: 2 additions & 1 deletion sphinx/_cli/util/colour.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
import sys
from os import environ as _environ

if False:
TYPE_CHECKING = False
if TYPE_CHECKING:
from collections.abc import Callable

if sys.platform == 'win32':
Expand Down
3 changes: 2 additions & 1 deletion sphinx/util/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
from sphinx.locale import __
from sphinx.util import logging

if False:
TYPE_CHECKING = False
if TYPE_CHECKING:
from collections.abc import Callable, Iterable, Iterator
from types import TracebackType
from typing import Any, ParamSpec, TypeVar
Expand Down

0 comments on commit 203a600

Please sign in to comment.