Skip to content

Commit c229679

Browse files
pre-commit-ci[bot]skshetry
authored andcommitted
[pre-commit.ci] pre-commit autoupdate (#10797)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent a23810f commit c229679

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
- id: sort-simple-yaml
2323
- id: trailing-whitespace
2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: 'v0.12.0'
25+
rev: 'v0.12.1'
2626
hooks:
2727
- id: ruff-check
2828
args: [--fix, --exit-non-zero-on-fix]

dvc/testing/benchmarks/fixtures.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ def _dvc_bin(*args):
125125
check_call([dvc_bin, *args]) # noqa: S603
126126

127127
_dvc_bin.version = check_output([dvc_bin, "--version"], text=True) # type: ignore[attr-defined] # noqa: S603
128+
129+
if version.Version(_dvc_bin.version) < version.Version("2.42.0"):
130+
venv.install("pathspec<0.10")
131+
128132
return _dvc_bin
129133

130134

0 commit comments

Comments
 (0)