Bump Ruff to 0.8.6

This commit is contained in:
Adam Turner
2025-01-06 06:05:55 +00:00
parent 717dcc531a
commit d59084a1fa
3 changed files with 4 additions and 4 deletions

View File

@@ -81,7 +81,7 @@ docs = [
"sphinxcontrib-websupport",
]
lint = [
"ruff==0.8.5",
"ruff==0.8.6",
"mypy==1.14.1",
"sphinx-lint>=0.9",
"types-colorama==0.4.15.20240311",

View File

@@ -12,6 +12,6 @@ def slow_function(message, timeout):
@contextmanager
def feeling_good(x: int, y: int) -> Generator: # NoQA: UP006
def feeling_good(x: int, y: int) -> Generator:
"""You'll feel better in this context!"""
yield

View File

@@ -813,10 +813,10 @@ def test_isgenericalias():
T = List[int] # NoQA: UP006
S = list[Union[str, None]] # NoQA: UP007
C = Callable[[int], None] # NoQA: UP006 # a generic alias not having a doccomment
C = Callable[[int], None] # a generic alias not having a doccomment
assert inspect.isgenericalias(C)
assert inspect.isgenericalias(Callable) # NoQA: UP006
assert inspect.isgenericalias(Callable)
assert inspect.isgenericalias(T)
assert inspect.isgenericalias(List) # NoQA: UP006
assert inspect.isgenericalias(S)