Bump Ruff to 0.8.5

This commit is contained in:
Adam Turner 2025-01-02 21:11:36 +00:00
parent 1aaea6bee2
commit 64937535dc
2 changed files with 5 additions and 5 deletions

View File

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

View File

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