diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0860d0801..114bde994 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.14.2' + rev: 'v0.14.3' hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] diff --git a/dvc/testing/benchmarks/fixtures.py b/dvc/testing/benchmarks/fixtures.py index 7d2ca14a9..589ce9f65 100644 --- a/dvc/testing/benchmarks/fixtures.py +++ b/dvc/testing/benchmarks/fixtures.py @@ -158,7 +158,7 @@ def make_bench(request): # pytest >= 8.4.0 wrapped_func = fixture_function._get_wrapped_function() 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) generator = wrapped_func(request)