[pre-commit.ci] pre-commit autoupdate (#10906)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot]
2025-11-04 13:56:29 +05:45
committed by GitHub
parent 9dda30b7a0
commit fa5c33ed24
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ repos:
- id: sort-simple-yaml - id: sort-simple-yaml
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.14.2' rev: 'v0.14.3'
hooks: hooks:
- id: ruff-check - id: ruff-check
args: [--fix, --exit-non-zero-on-fix] args: [--fix, --exit-non-zero-on-fix]
+1 -1
View File
@@ -158,7 +158,7 @@ def make_bench(request):
# pytest >= 8.4.0 # pytest >= 8.4.0
wrapped_func = fixture_function._get_wrapped_function() wrapped_func = fixture_function._get_wrapped_function()
except AttributeError: except AttributeError:
wrapped_func = fixture_function.__pytest_wrapped__.obj # ty: ignore[unresolved-attribute] wrapped_func = fixture_function.__pytest_wrapped__.obj # type: ignore[attr-defined] # ty: ignore[unresolved-attribute]
assert inspect.isgeneratorfunction(wrapped_func) assert inspect.isgeneratorfunction(wrapped_func)
generator = wrapped_func(request) generator = wrapped_func(request)