mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Bump Ruff to 0.8.5
This commit is contained in:
parent
1aaea6bee2
commit
64937535dc
@ -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",
|
||||
|
@ -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
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user