Skip to content

Commit 8c90daa

Browse files
[pre-commit.ci] pre-commit autoupdate (#296)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.8 → v0.5.0](astral-sh/ruff-pre-commit@v0.4.8...v0.5.0) * linter --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ivan Shcheklein <[email protected]>
1 parent 6d066ef commit 8c90daa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
- id: sort-simple-yaml
2121
- id: trailing-whitespace
2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: 'v0.4.8'
23+
rev: 'v0.5.0'
2424
hooks:
2525
- id: ruff
2626
args: [--fix, --exit-non-zero-on-fix]

tests/benchmarks/test_fs.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ def paths(original, links):
4444

4545
def test_link(benchmark, paths, links, link):
4646
def setup():
47-
for link in links.iterdir():
48-
if link.is_file():
49-
link.unlink()
47+
for lnk in links.iterdir():
48+
if lnk.is_file():
49+
lnk.unlink()
5050

5151
def _link(paths):
5252
for src, path in paths:

0 commit comments

Comments
 (0)