From 64937535dca170adb1e2b9be48d27b3e3b2dbab6 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Thu, 2 Jan 2025 21:11:36 +0000 Subject: [PATCH] Bump Ruff to 0.8.5 --- pyproject.toml | 2 +- tests/test_util/test_util_inspect.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 130f3ed7f..3d01dedb4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -81,7 +81,7 @@ docs = [ "sphinxcontrib-websupport", ] lint = [ - "ruff==0.8.4", + "ruff==0.8.5", "mypy==1.13.0", "sphinx-lint>=0.9", "types-colorama==0.4.15.20240311", diff --git a/tests/test_util/test_util_inspect.py b/tests/test_util/test_util_inspect.py index 8e6c1e01b..d3e4853a3 100644 --- a/tests/test_util/test_util_inspect.py +++ b/tests/test_util/test_util_inspect.py @@ -813,10 +813,10 @@ def test_isgenericalias(): T = List[int] # NoQA: UP006 S = list[Union[str, None]] # NoQA: UP006, UP007 - C = Callable[[int], None] # a generic alias not having a doccomment + C = Callable[[int], None] # NoQA: UP006 # a generic alias not having a doccomment assert inspect.isgenericalias(C) - assert inspect.isgenericalias(Callable) + assert inspect.isgenericalias(Callable) # NoQA: UP006 assert inspect.isgenericalias(T) assert inspect.isgenericalias(List) # NoQA: UP006 assert inspect.isgenericalias(S) @@ -843,7 +843,7 @@ def test_getdoc_inherited_classmethod(): @classmethod def meth(self): """ - docstring + Docstring indented text """ @@ -861,7 +861,7 @@ def test_getdoc_inherited_decorated_method(): class Foo: def meth(self): """ - docstring + Docstring indented text """